Opened 13 years ago

Closed 12 years ago

#29990 closed defect (fixed)

py26-pexpect does not install itself into the python path

Reported by: aernan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: py26-pexpect

Description

after installing py2.6-pexpect it put's itself here /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/

That path is not one of the default paths that python looks in to import libraries. Below is a list of paths it searches. Please fix the default install location

[, '/Users/earnan/stoke_automation/systest/lib/py', '/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', '/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'

Change History (3)

comment:1 Changed 13 years ago by aernan@…

as a workaround you can edit your .bashrc file and add the following line: export PYTHONPATH=/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Port: py26-pexpect added
Summary: package py2.6-pexpect does not install itself into the python pathpy26-pexpect does not install itself into the python path

comment:3 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Version 2.4 seems to work fine.

Note: See TracTickets for help on using tickets.