-
Notifications
You must be signed in to change notification settings - Fork 34
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
ModuleNotFoundError: No module named 'six.moves' with python 3.12 #133
Comments
one observation is that when i run in python3.12 |
Upgrade |
Thanks Alex it worked. |
I think this suggests a bug in asttokens? If the package isn't specifying the right version/range of its dependencies then that's something we should probably fix. |
Yes but really we should review #117 and get rid of six completely |
File "python3.12/site-packages/IPython/core/ultratb.py", line 104, in
import stack_data
File "python3.12/site-packages/stack_data/init.py", line 1, in
from .core import Source, FrameInfo, markers_from_ranges, Options, LINE_GAP, Line, Variable, RangeInLine,
File "python3.12/site-packages/stack_data/core.py", line 16, in
from asttokens.util import Token
File "python3.12/site-packages/asttokens/init.py", line 22, in
from .asttokens import ASTText, ASTTokens, supports_tokenless
File "python3.12/site-packages/asttokens/asttokens.py", line 25, in
from six.moves import xrange # pylint: disable=redefined-builtin
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'six.moves'
pip list | grep six
six 1.15.0
pip list | grep asttokens
asttokens 2.4.1
The text was updated successfully, but these errors were encountered: