The following forum message was posted by at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3732842:
If I run the following script inside pydev [code]import logging print logging.__file__[/code] I get this output: [code]/usr/lib/python2.5/logging/__init__.pyc[/code] Looking at Windows->Preferences->Pydev->Interpreter Python->Libraries then one of the entries is /usr/lib/python2.5 which should do it, shouldn\'t it? I get the same unresolved problem with \"import base64\". This is PYTHONPATH that gets passed to my scripts when run in Pydev [code]/home/john/local/eclipse/plugins/org.python.pydev_1.5.7.2010050621/PySrc/pydev_sitecustomize:/home/john/Dev/MyProjects/Home/Poker/python:/home/john/Dev/MyProjects/Python/Cookbook:/home/john/Dev/eclipse-workspace/PyBrain:/usr/lib/pymodules/python2.5:/usr/lib/pymodules/python2.5/gtk-2.0:/usr/lib/python2.5:/usr/lib/python2.5/lib-dynload:/usr/lib/python2.5/lib-tk:/usr/lib/python2.5/plat-linux2:/usr/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/CoreBio-0.5.0-py2.5.egg:/usr/lib/python2.5/site-packages/Jinja-1.2-py2.5-linux-x86_64.egg:/usr/lib/python2.5/site-packages/Numeric:/usr/lib/python2.5/site-packages/PIL:/usr/lib/python2.5/site-packages/PyBrain-0.3-py2.5.egg:/usr/lib/python2.5/site-packages/PyOpenGL-3.0.0b8-py2.5.egg:/usr/lib/python2.5/site-packages/PyXML-0.8.4-py2.5-linux-x86_64.egg:/usr/lib/python2.5/site-packages/Pygments-1.0-py2.5.egg:/usr/lib/python2.5/site-packages/Sphinx-0.5.1-py2.5.egg:/usr/lib/python2.5/site-packages/Twisted-8.2.0-py2.5-linux-x86_64.egg:/usr/lib/python2.5/site-packages/UPnP_Inspector-0.2.2-py2.5.egg:/usr/lib/python2.5/site-packages/bx_python-0.5.0-py2.5-linux-x86_64.egg:/usr/lib/python2.5/site-packages/decorator-3.0.1-py2.5.egg:/usr/lib/python2.5/site-packages/docutils-0.5-py2.5.egg:/usr/lib/python2.5/site-packages/dot2tex-2.8.5-py2.5.egg:/usr/lib/python2.5/site-packages/epydoc-3.0.1-py2.5.egg:/usr/lib/python2.5/site-packages/fpconst-0.7.2-py2.5.egg:/usr/lib/python2.5/site-packages/gst-0.10:/usr/lib/python2.5/site-packages/gtk-2.0:/usr/lib/python2.5/site-packages/ipython-0.10-py2.5.egg:/usr/lib/python2.5/site-packages/pygooglechart-0.2.1-py2.5.egg:/usr/lib/python2.5/site-packages/pyparsing-1.5.2-py2.5.egg:/usr/lib/python2.5/site-packages/rpy2-2.0.8-py2.5-linux-x86_64.egg:/usr/lib/python2.5/site-packages/scipy-0.7.1-py2.5-linux-x86_64.egg:/usr/lib/python2.5/site-packages/scons-1.2.0-py2.5.egg:/usr/lib/python2.5/site-packages/setuptools-0.6c12dev_r77904-py2.5.egg:/usr/lib/python2.5/site-packages/simplejson-2.0.7-py2.5-linux-x86_64.egg:/usr/lib/python2.5/site-packages/snakefood-1.4-py2.5.egg:/usr/lib/python2.5/site-packages/weblogo-3.0-py2.5.egg:/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode:/usr/local/lib/python2.5/site-packages[/code] Thanks for the quick response, John. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users