Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running this prime.py script #27

Open
core022 opened this issue Aug 14, 2023 · 0 comments
Open

Running this prime.py script #27

core022 opened this issue Aug 14, 2023 · 0 comments

Comments

@core022
Copy link

core022 commented Aug 14, 2023

I'm running into errors running this python script located here https://github.com/PacktPublishing/Artificial-Intelligence-with-Python/blob/master/Chapter%2006/code/prime.py

I'm also using this python logpy script found here https://github.com/MHordecki/LogPy

This is the error i receive when I try to run it. Please see below. Any suggestions on what I can be doing wrong. I'm new to python coding.

Traceback (most recent call last):
File "C:\Users\user022\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.11\prime.py", line 2, in
import logpy.core as lc
File "C:\Users\user022\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.11\logpy.py", line 11, in
from collections import Sequence
ImportError: cannot import name 'Sequence' from 'collections' (C:\Users\user022\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.11\collections_init_.py)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant