spyder-ide / spyder

Official repository for Spyder - The Scientific Python Development Environment
https://www.spyder-ide.org
MIT License
8.28k stars 1.61k forks source link

Autocomplete only works when ran as root #9350

Closed EmielSchmeink closed 5 years ago

EmielSchmeink commented 5 years ago

Issue Report Checklist

Problem Description

Autocomplete in the IDE only works when ran as root. The console works fine.

What steps reproduce the problem?

  1. Open spyder as a non-root user
  2. Type "imp" and press tab
  3. "imp" isn't autocompleted to import

What is the expected output? What do you see instead?

That spyder correctly autocompletes the typed statement, as it does when spyder is ran as root.

Versions

Dependencies

IPython >=4.0 : 7.5.0 (OK) cython >=0.21 : 0.29.7 (OK) jedi >=0.9.0 : 0.13.3 (OK) matplotlib >=2.0.0: 2.2.3 (OK) nbconvert >=4.0 : 5.5.0 (OK) numpy >=1.7 : 1.16.3 (OK) pandas >=0.13.1 : 0.24.2 (OK) psutil >=0.3 : 5.5.1 (OK) pycodestyle >=2.3 : 2.4.0 (OK) pyflakes >=0.6.0 : 2.0.0 (OK) pygments >=2.0 : 2.3.1 (OK) pylint >=0.25 : 2.2.2 (OK) qtconsole >=4.2.0 : 4.4.3 (OK) rope >=0.9.4 : 0.10.5 (OK) sphinx >=0.6.6 : 1.8.5 (OK) sympy >=0.7.3 : 1.4 (OK)

ccordoba12 commented 5 years ago

Sorry, this looks like an installation issue. We recommend you to use Anaconda instead or wait until Spyder 4, which will have much better code completion facilities.