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
Install a recent version of python and then checking the box to ** (very important) Add Python to PATH** during the installation. OR Manually add Python to Windows Path (Google for more details:wink:)
Use command prompt(CMD) and then Verify jedi installation through "pip install jedi" command
Reinstalling autocomplete-python v1.17.0
As a second solution, you can use autocomplete-python v1.17.0 right away without downgrades.
Somehow autocomplete-python can't find my jedi installation. If I start to type something in a python script, i get:
Traceback (most recent call last):
File "/Users/paulgrassl/.atom/packages/autocomplete-python/lib/completion.py", line 8, in <module>
and also:
import jedi
ModuleNotFoundError: No module named 'jedi'
However, if I do a pip list in my venv I see the latest jedi version...
is this also related to this? any advice is appreciated. (I already tried to uninstall jedi and autocomplete-python several times but this didn't change anything)
I'm on MacOS. And the path is fine imo (it's in my zshrc script). If it would be a python path problem then I wouldn't be able to execute Python commands right? The error that I'm getting is about not finding jedi.
Do you work with autocomplete-python version 1.16.0 or 1.17.0?
No, sorry maybe that was not clear. I just wanted to say that python 3 is my default, so it shouldn't be problem of python 2. Additionally I just wanted to thank you for your suggestions, however, it may be impossible for you to figure out this problem remotely and the only way is that I do trial and error :S
Activity
hallymer commentedon Jan 27, 2021
Also, I found second solution.
OR Manually add Python to Windows Path (Google for more details:wink:)
As a second solution, you can use autocomplete-python v1.17.0 right away without downgrades.
iconberg commentedon Feb 3, 2021
Have the same issue on linux after updating. How to fix this on linux?
hallymer commentedon Feb 4, 2021
Maybe In Linux, I think you can do sudo pip install jedi
paul-grassl commentedon Feb 10, 2021
Somehow autocomplete-python can't find my jedi installation. If I start to type something in a python script, i get:
and also:
However, if I do a
pip listin my venv I see the latest jedi version...is this also related to this? any advice is appreciated. (I already tried to uninstall jedi and autocomplete-python several times but this didn't change anything)
hallymer commentedon Feb 10, 2021
@paul-grassl
Have you tried reinstalling autocomplete-python v1.17.0?
paul-grassl commentedon Feb 10, 2021
yes I did. can it have something to do with the python path? ... but executing python commands works
hallymer commentedon Feb 10, 2021
It is related to the Python path.
Did you check PATH when installing Python?
If you did not check PATH when installing Python,
refer to the link below and add the Python PATH
https://datatofish.com/add-python-to-windows-path/
paul-grassl commentedon Feb 11, 2021
I'm on MacOS. And the path is fine imo (it's in my zshrc script). If it would be a python path problem then I wouldn't be able to execute Python commands right? The error that I'm getting is about not finding jedi.
Do you work with autocomplete-python version 1.16.0 or 1.17.0?
hallymer commentedon Feb 11, 2021
What is the version of Python installed on the Mac?
Python installed on Mac is set to 2.x version, that is, the default version.
So it may not work
Please refer to the link below
https://dev.to/malwarebo/how-to-set-python3-as-a-default-python-version-on-mac-4jjf
paul-grassl commentedon Feb 11, 2021
I have an alias in my zshrc script which makes python3 the default.
Thanks for your suggestions though, really appreciate it. I will also experiment again with maybe different venv etc.
hallymer commentedon Feb 11, 2021
you changed the python version and it works fine?
paul-grassl commentedon Feb 11, 2021
No, sorry maybe that was not clear. I just wanted to say that python 3 is my default, so it shouldn't be problem of python 2. Additionally I just wanted to thank you for your suggestions, however, it may be impossible for you to figure out this problem remotely and the only way is that I do trial and error :S
hallymer commentedon Feb 12, 2021
Try with this command.
Try the above command and tell me the result 😄
hallymer commentedon Feb 12, 2021
This link will also be helpful.
https://github.com/clduan/jedi-in-mac
iconberg commentedon Feb 13, 2021
For me
and reinstall atom 1.54 did not solve the problem, still no autocomplete.
j2bbayle commentedon Jun 18, 2021
This is such an annoying bug… can't wait for a proper fix 🙌!