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

Not working when system uses "python" instead of "python3" #82

Open
John15321 opened this issue Jan 18, 2021 · 0 comments
Open

Not working when system uses "python" instead of "python3" #82

John15321 opened this issue Jan 18, 2021 · 0 comments

Comments

@John15321
Copy link

My Manjaro uses "python" instead of "python3" as default python interpreter. I even have an aliast python3='python' in my .zshrc file but when I try to toggle the Minimap I get this:

Error detected while processing function provider#python3#Call:                                                                                                                                           
line   18:
Error invoking 'python_execute_file' on channel 5 (python3-script-host):
error caught in request handler 'python_execute_file ['/home/john/.nvim/autoload/plugged/vim-minimap/autoload/minimap.py\n/usr/share/vim/vimfiles/autoload/minimap.py', 1, 1]':
Traceback (most recent call last):
  File "/home/john/.pyenv/versions/3.8.0/lib/python3.8/site-packages/pynvim/plugin/script_host.py", line 107, in python_execute_file
    with open(file_path) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/john/.nvim/autoload/plugged/vim-minimap/autoload/minimap.py\n/usr/share/vim/vimfiles/autoload/minimap.py'
Error detected while processing function minimap#ShowMinimap[4]..provider#python3#Call:
line   18:
Error invoking 'python_execute' on channel 5 (python3-script-host):
Traceback (most recent call last):
  File "<string>", line 1, in <module>
NameError: name 'showminimap' is not defined
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

1 participant