-
-
Notifications
You must be signed in to change notification settings - Fork 372
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
my jedi-vim can't show package from python3 #857
Comments
the jedi complete use the package in my python2.7 not python3 |
I would assume it uses this one?! But its sys_path looks strange:
Is that the same Python environment? What does There is some WIP to improve selecting an environment, you might want to try it maybe: #836 |
the result of
was
thanks |
And if you run Is Cellar the MacOS Python? What does
I cannot see anything about Python 2.7 here, so I would rather guess that you have multiple Python 3 versions that get mixed. |
when i run
I got it .maybe I have multiple Python 3 versions that get mixed. |
So it looks like jedi-vim uses this environment indeed. Does |
I think you mean
I just change python3.6 to python3.7 but also no use |
Can you give us a bit better reproduction steps? I'm still not sure what your problem is. |
sorry I used this vim-config to config my neovim, but the jedi can't
/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/init.py
Output of “:verbose JediDebugInfo”Jedi-vim debug informationUsing Python version: 3
Settings
:version
:messages
:scriptnames
|
There is no new information in your comments info, is there? I've just noticed that asyncio is in So there is an issue with your setup. Since #858 was just merged, please update and check Otherwise (typed this already): python3 -m venv .venv
source .venv/bin/activate
pip install asyncio
nvim For me import asyncio
asyncio. Also try a minimal vimrc, e.g. the following in jedi-vim's checkout directory:
And then use it via |
I think this can be closed already, but please provide the requested feedback from above. |
thanks vary much |
@yangsoon |
can we set the jedi-vim Known environments? |
Not yet. |
You can however trick it by using |
Issue
my jedi-vim can't show the package like asyncio etc in python3 and the package install used by pip3
my os is MacOS
Steps to reproduce
Output of “:verbose JediDebugInfo”
Jedi-vim debug information
Using Python version: 3
3.6.5 (default, Jun 17 2018, 12:13:06), [GCC 4.2.1 Compatible Apple LLVM 9.1.0 (clang-902.0.39.2)]
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site.py
Jedi path:
/Users/yangs/.cache/vim/dein/repos/github.com/davidhalter/jedi-vim/pythonx/jedi/jedi/__init__.py
<Environment: 3.6.5 in /usr/local>
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python36.zip
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/usr/local/Cellar/python/3.6.5_1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload
/Users/yangs/Library/Python/3.6/lib/python/site-packages
/usr/local/lib/python3.6/site-packages
/usr/local/lib/python3.6/site-packages/pip-9.0.1-py3.6.egg
Settings
:version
:messages
The text was updated successfully, but these errors were encountered: