python - trying to reinstall python2.7 mac -
so created issues in python when trying install more versions of python (2.6, 3.3) try , pydev eclipse work.
this caused issues (then) working version of python 2.7
now, have reinstalled python 2.7. terminal can type $python2.7
, get:
$ python2.7 python 2.7.6 (v2.7.6:3a1db0d2747e, nov 10 2013, 00:42:54) [gcc 4.2.1 (apple inc. build 5666) (dot 3)] on darwin type "help", "copyright", "credits" or "license" more information. >>> import sys >>> sys.path ['', '/library/frameworks/python.framework/versions/2.7/lib/python27.zip', '/library/frameworks/python.framework/versions/2.7/lib/python2.7', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/plat-darwin', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/plat-mac', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/lib-tk', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/lib-old', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/lib-dynload', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages']
to me sign.
then, when go $easy_install scipy
get:
$ easy_install scipy error: can't create or remove files in install directory following error occurred while trying add or remove files in installation directory: [errno 2] no such file or directory: '/library/python/2.7/site-packages/test-easy-install-20589.write-test' installation directory specified (via --install-dir, --prefix, or distutils default setting) was: /library/python/2.7/site-packages/ directory not exist. please create , try again, or choose different installation directory (using -d or --install-dir option).
so, this, trying make dark side, , 2.7 , running. help
you missing symlink python installation. command line try:
sudo ln -s /library/frameworks/python.framework/versions/2.7 /library/python/2.7
Comments
Post a Comment