Message130395
| Author |
skip.montanaro |
| Recipients |
eric.araujo, ned.deily, skip.montanaro |
| Date |
2011年03月09日.01:33:31 |
| SpamBayes Score |
7.2183926e-12 |
| Marked as misclassified |
No |
| Message-id |
<19830.55526.937420.685107@montanaro.dyndns.org> |
| In-reply-to |
<1299633294.93.0.339940787753.issue11445@psf.upfronthosting.co.za> |
| Content |
Ned> Are you sure you're not really using the MacPorts python? What's
Ned> the value of sys.executable?
Yup, pretty sure. :-) Here it is run from my hg sandbox:
% pwd
/Users/skip/src/hgpython/2.7
% ./python.exe
Python 2.7.1 (r271:86832, Feb 2 2011, 06:56:19)
[GCC 4.0.1 (Apple Inc. build 5493)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.executable
'/Users/skip/src/hgpython/2.7/python.exe'
>>> sys.path
['/Users/skip/misc/python/python2', '/Users/skip/misc/python', '', '/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-dynload', '/Users/skip/.local/lib/python2.7/site-packages', '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages']
Skip |
|