spyder: The code completion in the editor is not working
Description
What steps will reproduce the problem?
- type “import os”
- type long_name_for_completion = 1
- type long_name, press tab (or control + space), nothing happens.
- type os., press tab, nothing happens.
What is the expected output? What do you see instead? There should be a list of possible variable names for me to choose when I press tab.
Please provide any additional information below It works in the IPython console, but not the editor.
Actually one hour ago it works well in the editor. Just after a dinner it is not working. I’ve tried reinstalling spyder, rebooting, updating the packages, etc. It still doesn’t work.
Version and main components
- Spyder Version: 3.1.4
- Python Version: 3.6.1
- Qt Versions: 5.6.2, PyQt5 5.6 on Darwin
Dependencies
pyflakes >=0.6.0 : 1.5.0 (OK)
pep8 >=0.6 : 1.7.0 (OK)
pygments >=2.0 : 2.1.3 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
pandas >=0.13.1 : 0.20.1 (OK)
numpy >=1.7 : 1.12.1 (OK)
sphinx >=0.6.6 : 1.5.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
jedi >=0.9.0 : 0.10.2 (OK)
psutil >=0.3 : 5.0.1 (OK)
matplotlib >=1.0 : 2.0.2 (OK)
sympy >=0.7.3 : 1.0 (OK)
pylint >=0.25 : 1.6.4 (OK)
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 17 (8 by maintainers)
Following issue #5782 for spyder=3.2.6 and python 3.6.3 Anaconda, Windows 8.1 x64:
pip uninstall enum34 restarting spyder
was able to solve my problem with missing autocomplete.
@EonSin Thanks a million for the hint with enum34! I uninstalled it with pip and code completion works perfectly after restarting spyder.
Spyder 3.3.0, Python 3.6.3 Anaconda, Windows 7 x64