Atom IDE autocomplete-python not working

匿名 (未验证) 提交于 2019-12-03 01:20:02

问题:

I have just installed the Atom IDE and the package autocomplete-python (on Windows). But the package is not working. Do I have to make any setting changes? (I have disabled autocomplete-plus and autocomplete-snippets).

Do I need to separately install Jedi?

回答1:

It worked when I enabled autocomplete-plus. It seems autocomplete-plus is required for autocomplete-python to work. (I had initially followed a youtube video in which autocomplete-plus and -snippets were disabled and then autocomplete-python was installed.)



回答2:

If autocomplete-python in Atom not working with Python 3.7 In windows, go to:

C:\Users\username\.atom\packages\autocomplete-python\lib\jedi\parser

Or in linux:

cd ~/.atom/packages/autocomplete-python/lib/jedi/parser

Duplicate file named "grammar3.6.txt" and change it to "grammar3.7.txt"

It's worked for me with python 3.7!



回答3:

I was having the same problem, in order to fix it I added python executable path installed package setting and it worked.

"C:\Python27\python.exe;C:\Python27\Scripts\".  

In my case I had PyCharm, Anaconda and Python 2.7 was installed on my system and while using atom editior I was not accessing any of the environment, was working on just a plain .py files saved on my desktop.



回答4:

Same for me. I followed the previous answer but could not find autocomplete-plus (June 2018). I installed autocomplete and now both packages work just fine.



回答5:

For me, enabling autocomplete-plus didn't help.

It worked when I changed the Python version that I am using from Python 3.7 to Python 3.6.6.



易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!