9

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.

Community
  • 1
  • 1
Hadi
  • 5,328
  • 11
  • 46
  • 67
  • Unfortunately, there might have been a problem with the .idea folder. Go into your project directory and delete the `.idea`, after you've done that, go and restart PyCharm. That _should_ solve things. If it does not, then I might need to look at your skeletons. – Games Brainiac Apr 27 '14 at 08:33
  • @GamesBrainiacI did what you said but the problem didn't solved! what do you mean by `skeleton`? `skeleton` folder in PyCharm or something else? – Hadi Apr 27 '14 at 09:29
  • Does this occur only on numpy or other libraries too? – Jorge Leitao Apr 29 '14 at 05:58
  • @J.C.Leitão, Yes, it happens only on `numpy`. There is no problem with other libraries. – Hadi Apr 29 '14 at 17:00

2 Answers2

3

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.

linuts
  • 6,608
  • 4
  • 35
  • 37
  • 1
    Thank you @linuts, I tried all the things you said, But it did not solve the problem! It is weird! – Hadi May 04 '14 at 18:09
0

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 ...".

Henry
  • 2,870
  • 1
  • 25
  • 17