Eclipse Pydev: 'Error: Python stdlib not found' -
Eclipse Pydev: 'Error: Python stdlib not found' -
i trying add together interpreter (created using virtualenv) pydev next error:
it seems python /lib folder (which contains standard library) not found /selected during instal process.
this folder (which contains files such threading.py , traceback.py) required pydev function (and must contain actual source files, not .pyc files) ...
note if virtualenv install, /lib folder base of operations install needs selected (unlike site-packages optional)...
the problem there no /lib folder under default installation... created virtualenv 'no-site-packages' option... how can solve? thanks!
i've come across myself before. when adding interpreter created using virtualenv in pydev, when asks folders need added scheme pythonpath, had select /usr/lib/python2.7
/usr/lib/python2.7/lib-tk
/usr/lib/python2.7/plat-linux2
see screenshot had do. here temp
virtualenv.
even though scheme python directory added, pydev did not pick global site packages, still accomplish "no-site-packages" effect. i'm assuming have similar on windows i.e. select folder in "select needed" dialog, including c:\pythonx.x
folder.
edit: tried out pydev 2.3 on eclipse indigo (arch linux virtualenv 1.7), , seems plat-linux2
not need selected (not sure lib-tk
, /usr/lib/python2.7
required). fijiaaron pointing out.
edit 2: pydev 2.5 (and 2.6 too, from docs) still requires /lib
folder function properly, though lets ignore "python stdlib not found" dialog , add together interpreter anyway (but mentions still needs included later).
python eclipse pydev virtualenv
Comments
Post a Comment