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' #964
Comments
This seems to be the same error as #963 edit: at least, it seems related. They both have
|
Followed the instructions at https://github.com/python-mode/python-mode#troubleshootingdebugging pymode_debug_file.txt file:
|
Tried checking out different versions of the submodule, including "master", "1.0.0", and "1.9.0" to no effect. |
Also tried running
to no effect. |
The line "pymode#breakpoint#init" occurs in two files.
It is defined in breakpoint.vim, and the import statement is right here:
|
It seems to be something to do with the PYTHONPATH. Or to put it another way, a problem between the system install of "six" and the submodule. If I prepend the import statement with a sys.path.append, the problem goes away: in breakpoint.vim 12 sys.path.append('/path/to/my/user/folder/.vim/pack/pymode/start/python-mode/submodules/six/')
13 from six import PY3 |
I was able to fix this with |
See my post "pip install six Installing it did not help me in the first place |
Hi all! I've just merged an update to our develop branch that should fix this error (It was a known bug, that we already had a possible fix, but I was waiting for confirmations that the solution works fine, and it seems to work indeed =). So, try updating and see if it is really fixed. |
@diraol
I've tried both PluginUpdate and re-install whole python-mode. |
@racterub Can you provide the troubleshooting information, please? |
Here's the debug log. |
That's strange..... your submodules are all ok right? |
@diraol |
That's the most important! =) |
Same problem here. Env:
Tried:
Workaround:
well, the final path may be different according to your installation details. Here I was copied from python-mode(
That's it.. ٩( ๑╹ ꇴ╹)۶ |
It works for me. Thanks! |
If you are doing it you need to update your submodules, for sure. |
I'm getting the same error as @racterub when trying to open a .py file:
I am on the latest version of python-mode:
and here is the debug info:
My submodules are up to date from what I can tell (I just run |
What is the output of |
Actually, the latest commit d147255 solved this for me. Here's the output of
|
Hi
I installed it on Win 10 X64 with python 3.7 support. It seems to work but with initial invokie I get this error below.
I also have "six" installed not sure
Error detected while processing function pymode#breakpoint#init:
line 29:
Traceback (most recent call last):
File "", line 2, in
ModuleNotFoundError: No module named 'six'
The text was updated successfully, but these errors were encountered: