python interpreter missing most of the libs in site packages since last two builds

Hi,

When I look at the python interpreter it seems to be missing most of the libs in site packages since last two builds. It's unusable. I was wondering if it was missing symlinked ones, but no, it's mostly everything. No idea what could have caused this, since it's really a major bug that prevent anyone from doing anything... will try to replicate with virtualenv.

4 comments

Tried with virtualenv, same result. Pycharm has gone to hell. Back to a text editor till it's fixed...

0

Hello j,

The list of paths in the intepreter settings dialog should match the list

of paths included in sys.path of the Python interpreter. It's not necessary

that every subdirectory of site-packages would be listed in the dialog. Could

you please check if the list matches what's shown by 'import sys; print sys.path'

in the running Python interpeter?

Also note that the "Reload" button refreshes the list of paths - you can

try pressing it to see if it fixes the problem.

When I look at the python interpreter it seems to be missing most of

the libs in site packages since last two builds. It's unusable. I was

wondering if it was missing symlinked ones, but no, it's mostly

everything. No idea what could have caused this, since it's really a

major bug that prevent anyone from doing anything... will try to

replicate with virtualenv.

---

Original message URL:

http://devnet.jetbrains.net/message/5267518#5267518

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

this is the exact problem I'm having

filed bug: http://youtrack.jetbrains.net/issue/PY-1946

nothing in site-packages is picked up and it's not even listed as a folder on the interpret settings page

0

~$ python

Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)

[GCC 4.2.1 (Apple Inc. build 5646)] on darwin

Type "help", "copyright", "credits" or "license" for more information.

>>> import sys

>>> sys.path

['', '/Library/Python/2.6/site-packages/ipython-0.10-py2.6.egg', '/Library/Python/2.6/site-packages/nose-0.11.1-py2.6.egg', '/Library/Python/2.6/site-packages/foolscap-0.4.2-py2.6.egg', '/Library/Python/2.6/site-packages/simplejson-2.0.9-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/Library/Python/2.6/site-packages/MySQL_python-1.2.3c1-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/topia.termextract-1.1.0-py2.6.egg', '/Library/Python/2.6/site-packages/rdflib-2.4.2-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/pyparsing-1.5.2-py2.6.egg', '/Library/Python/2.6/site-packages/pymongo-1.6-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/lxml-2.2.6-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/beanstalkc-0.2.0-py2.6.egg', '/Library/Python/2.6/site-packages/tweetstream-0.3.5-py2.6.egg', '/Library/Python/2.6/site-packages/anyjson-0.2.4-py2.6.egg', '/Library/Python/2.6/site-packages/Thrift-0.2.0-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/boto-2.0a2-py2.6.egg', '/Users/jim', '/Users/jim/Code/InsightsProc', '/Library/Python/2.6/site-packages/Twisted-10.0.0-py2.6-macosx-10.6-universal.egg', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload', '/Library/Python/2.6/site-packages', '/Library/Python/2.6/site-packages/PIL', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC', '/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode']

>>>

you can see:  '/Library/Python/2.6/site-packages',

is listed by PyCharm doesn't recognize it.

unusable in this state

0

Please sign in to leave a comment.