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
Autocomplete-python v1.17/0 not working #450
Comments
Also, I found second solution.
As a second solution, you can use autocomplete-python v1.17.0 right away without downgrades. |
Have the same issue on linux after updating. How to fix this on linux? |
Maybe In Linux, I think you can do sudo pip install jedi |
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 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) |
@paul-grassl |
yes I did. can it have something to do with the python path? ... but executing python commands works |
It is related to the Python path. If you did not check PATH when installing Python, |
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. |
What is the version of Python installed on the Mac? Please refer to the link below |
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. |
you changed the python version and it works fine? |
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 |
Try with this command.
Try the above command and tell me the result 😄 |
This link will also be helpful. |
For me
and reinstall atom 1.54 did not solve the problem, still no autocomplete. |
This is such an annoying bug… can't wait for a proper fix 🙌! |
After updating to autocomplete-python v1.17.0, the function description does not work.
So I downgrade to autocomplete-python v1.16.0 and run it, but still, the function description does not work.
I looked for a reason not to work, "grammar2.7.txt" ~ "grammar3.7.txt" were in the parser file.
After duplicating on grammar3.x file, I changed it according to the Python version. And then restarted Atom.
The function description started to work!!
How to downgrade "autocomplete-python v1.17.0" to "autocomplete-python v1.16.0"
OS is based on Windows 10 and Python version is version 3.8
(https://github.com/autocomplete-python/autocomplete-python/releases) Download version 1.16.0 from the link next to it.
Unzip it once you have downloaded either "zip" or "tar.gz".
When unpacked, there are whole folder content (from "keymaps" to "README.md") in the "autocomplete-python-1.16.0" folder, copy it(Ctrl+C).
Go to C:\Users\UserID\.atom\packages\autocomplete-python and paste(Ctrl+V) the copied file.
Go to C:\Users\UserID\.atom\packages\autocomplete-python\lib\jedi\parser
You will see the file "grammar3.X.txt". Duplicate the file.
Change the file name according to your version of Python. (My python version is 3.8, so I have to write it as garmmar3.8.txt.)
When you're done, Restart Atom.
This method is temporary until the next update of version 1.17.0
I hope it helps a lot. 😃
The text was updated successfully, but these errors were encountered: