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
{{ message }}
This repository has been archived by the owner on Dec 24, 2020. It is now read-only.
Hello, it's been a while I've been trying to use pyenv and coc-python but it does not work. I dont know much about pyenv, so I'd be very thankful if someone explains what is going wrong.
What I did
First I installed pyenv and created a virtualenv called neovim3 and installed all I need for coc-python.
So I created a new django project with virtualenv at ~/coding/mysite/
When I open a python file, the linter shows error in every django import(eg: unable to import django.urls) and at the top of the file it shows "Django is not available on the PYTHONPATH"
What should I do for it to work well?
The text was updated successfully, but these errors were encountered:
I think I solved the problem by removing "python.linting.pylintPath". It'd be very nice if we create a little tutorial at the Wiki to avoid theses problems. What do you guys think? Maybe it seems obvious to experienced python developers, but for newcomers it's very hard to figure out this kind of problem.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, it's been a while I've been trying to use pyenv and coc-python but it does not work. I dont know much about pyenv, so I'd be very thankful if someone explains what is going wrong.
What I did
First I installed pyenv and created a virtualenv called neovim3 and installed all I need for coc-python.
After that, I set that location to neovim
And my coc-setings.json
So I created a new django project with virtualenv at
~/coding/mysite/
When I open a python file, the linter shows error in every django import(eg:
unable to import django.urls
) and at the top of the file it shows "Django is not available on the PYTHONPATH"What should I do for it to work well?
The text was updated successfully, but these errors were encountered: