[MacPorts] #31891: Python loading system numpy in preference to MacPorts version (Lion)
MacPorts
noreply at macports.org
Thu Jun 14 11:42:31 PDT 2012
#31891: Python loading system numpy in preference to MacPorts version (Lion)
------------------------------+---------------------------------------------
Reporter: jamie@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Keywords: | Port:
------------------------------+---------------------------------------------
Comment(by jmr@…):
This is my sys.path in macports python2.7:
{{{
>>> import sys
>>> print sys.path
['',
'/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
/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/PIL',
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
/site-packages/setuptools-0.6c11-py2.7.egg-info']
}}}
What is in yours? There must be some system paths if reversing it helps?
Which python port are you using anyway?
--
Ticket URL: <https://trac.macports.org/ticket/31891#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list