[MacPorts] #34763: python27 @2.7.3_0 Includes system paths in sys.path
MacPorts
noreply at macports.org
Mon Jun 4 18:51:33 PDT 2012
#34763: python27 @2.7.3_0 Includes system paths in sys.path
------------------------------------+---------------------------------------
Reporter: jameskyle@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.99
Keywords: | Port:
------------------------------------+---------------------------------------
Macports installation of python 2.7 includes system paths in sys.path.
This causes mucho problemo with module lookups.
Example:
['', '/Library/Python/2.7/site-packages/pip-1.1-py2.7.egg',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-darwin',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-mac',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/plat-mac/lib-scriptpackages',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-tk',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-old',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/readline',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/lib-dynload',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/aeosa',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/setuptools-0.6c11-py2.7.egg-info', '/Library/Python/2.7
/site-packages']
This effectively results in a broken python install with _very_ odd
behavior.
The behavior was observed on a fresh install of macports with only a
single package installed (a python package) and duplicated across multiple
others.
--
Ticket URL: <https://trac.macports.org/ticket/34763>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list