Hadi
Hadi

Reputation: 5598

Numpy- How to fix autocompletion in PyCharm 3.1.3

I was working on my project in PyCharm 3 that suddenly the power went off. After that when I tried to start PyCharm I encountered with a huge number of warnings about the last configuration! So I accept to reset all configuration.

Now when I import numpy and try to use autocompletion it doesn't show anything! It works but there is no autocompletion popup. I have no problem with OpenCV import which its autocompletion works fine(as before).

I read this and this and tried both of them but that doesn't work. I uninstalled NumPy and reinstalled it again but the problem didn't solved!

I'm using windows 7

UPDATE

I also update my PyCharm to 3.1.x(I removed the previouse version with its settings). The problem exists yet.

Upvotes: 9

Views: 2261

Answers (2)

Henry
Henry

Reputation: 3328

I was having this issue with PyCharm CE 2016.1. It went away when I upgraded (while importing old settings) to 2016.2. I had to let it index all the library files again, which took awhile, i.e. "Updating skeletons for ...".

Upvotes: 0

linuts
linuts

Reputation: 6748

It sounds like your caches have been corrupted. You can regenerate them from the file menu with "Invalidate Caches / Restart ..."

If that doesn't work the you can recreate the IDE's settings directory. See here for the location. If you've updated PyCharm, there may be multiple config versions. My linux PyCharm 3.1.3 directory is .PyCharm30, it may be the same for Windows.

  • Stop PyCharm
  • Move .PyCharmXX\system out of the way
  • Start PyCharm

If that doesn't work, try with the config sub-directory:

  • Stop PyCharm
  • Move .PyCharmXX\config out of the way
  • Start PyCharm

If all else fails, move the entire config directory out the way:

  • Stop PyCharm
  • Move .PyCharmXX out of the way
  • Start PyCharm

Note that the above will involve you having to re-enter licence keys etc.

Upvotes: 3

Related Questions