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

No module named 'six.moves' #23

Open
ozliver opened this issue Dec 20, 2024 · 1 comment
Open

No module named 'six.moves' #23

ozliver opened this issue Dec 20, 2024 · 1 comment

Comments

@ozliver
Copy link

ozliver commented Dec 20, 2024

Hi,

I used LiveCode in vscode, but it reported error in a simple py code.

code is:
import os import six six_path = os.path.dirname(six.__file__) print(f"six install: {six_path}")

output is:
six install: D:\DevEnv\Python313\Lib\site-packages
[Done] exited with code=0 in 0.58 seconds

error is:
Print Output:
Traceback (most recent call last):
File "c:\Users\DCao.vscode\extensions\xirider.livecode-1.3.10\node_modules\arepl-backend\python\arepl_python_evaluator.py", line 11, in
import astunparse
File "c:\Users\DCao.vscode\extensions\xirider.livecode-1.3.10\node_modules\arepl-backend\python\astunparse_init_.py", line 3, in
from six.moves import cStringIO
ModuleNotFoundError: No module named 'six.moves'

I have installed astunparse and six modules, so it's wired

@rairay91
Copy link

rairay91 commented Dec 24, 2024

Same problem in my case.

here is the complete error message-

Print Output:
Traceback (most recent call last):
File "/home/hp/.vscode/extensions/xirider.livecode-1.3.10/node_modules/arepl-backend/python/arepl_python_evaluator.py", line 11, in
import astunparse
File "/home/hp/.vscode/extensions/xirider.livecode-1.3.10/node_modules/arepl-backend/python/astunparse/init.py", line 3, in
from six.moves import cStringIO
ModuleNotFoundError: No module named 'six.moves'

and here is the code i was trying to run-

tpl = 10, 2.2, 'hello', 1+2j, True
a, b, c, d, e = tpl
print('a =', a, ' b =', b, ' c =', c, ' d =', d, ' e =', e)

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

No branches or pull requests

2 participants