Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm 5.0.1 doesn't resolve builtin modules / methods

My PyCharm 5.0.1 installation does not resolve references to any builtin modules or methods:

enter image description here

As you can see, I have installed python over cygwin.

I already tried:

  • reinstalling / updating the python installation (from 2.7.9 to 2.7.10)
  • reinstalling pycharm
  • adding a interpreter path to the python-skeletons in the pycharm installation directory (this was immediately removed by the ide when saving the settings, implying, that it already is embedded)
  • removing the interpreter (this removes the warnings, but also the code completion, and import asdflkjasd is valid as well)
  • adding various paths like /lib/python2.7/site-packages/ to the interpreter packages option

None of these improved the situation. How can I fix this without installation outside of cygwin alltogether?

like image 383
Zulakis Avatar asked Aug 19 '26 19:08

Zulakis


1 Answers

I use Windows 10 x64, Python 3.5.1 and PyCharm Community Edition 2016.1.4

I have the same problem and sovled it by runnig PyCharm in admin mode (it is required only once).

like image 143
Maks Avatar answered Aug 21 '26 09:08

Maks



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!