You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: