[Pythonmac-SIG] PYTHON PATH woes, with a twist - could a good samaritan help out?

Chris Adams mail at chrisadams.me.uk
Sun Sep 21 22:20:22 CEST 2008


Hi guys,

I've been looking around in the archives of this mailing list, and
I've seen other users having a problem with PYTHONPATH, but it seems
that followiing the usual instructions isn't helping me out here;

I'm using bash as my shell, on Leopard 10.5.5, and in my .profile
config file, I have

export PYTHONPATH

which should give me a list of the packages inside.

This is what I get back:

chris-adamss-macbook:~ chrisadams$ echo $PYTHONPATH

chris-adamss-macbook:~ chrisadams$

When I fire up a python shell, I get the following back:

chris-adamss-macbook:~ chrisadams$ python
Python 2.5.1 (r251:54863, Feb  4 2008, 21:48:13)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', '/Library/Python/2.5/site-packages/Fabric-0.0.8-py2.5.egg',
'/Library/Python/2.5/site-packages/paramiko-1.7.4-py2.5.egg',
'/Library/Python/2.5/site-packages/Sphinx-0.4.2-py2.5.egg',
'/Library/Python/2.5/site-packages/docutils-0.5-py2.5.egg',
'/Library/Python/2.5/site-packages/Jinja2-2.0-py2.5-macosx-10.5-i386.egg',
'/Library/Python/2.5/site-packages/Jinja-1.2-py2.5-macosx-10.5-i386.egg',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload',
'/Library/Python/2.5/site-packages',
'/Library/Python/2.5/site-packages/PIL',
'/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC']
>>>

I'm trying to install Sphinx, which has Jinja as a prerequisite, and
I'm having absolutely no luck here, and the link to
pythonmac.org/wiki/FAQ seems to be down.

Could someone here shed some light on what I'm doing wrong?

Thanks in advance,

C

-- 
Chris Adams
mob: 07974 368 229
tel: 0207 558 8971
skype: chris.d.adams
twitter: chris_d_adams


More information about the Pythonmac-SIG mailing list