1

我的 Mac 上安装了两组 Python。

“系统/库/框架”和“库/框架”

我试图将我所有的 Python 模块放在一个文件夹中。目前,这是我转储 sys.path 时显示的内容:

/Library/Python/2.7/site-packages/distribute-0.6.21-py2.7.egg /Library/Python/2.7/site-packages/pip-1.0-py2.7.egg /Library/Python/2.7/site -packages/pymongo-2.0.1_-py2.7-macosx-10.7-intel.egg /Library/Python/2.7/site-packages/pytz-2011k-py2.7.egg /Library/Python/2.7/site-packages /ipython-0.13-py2.7.egg /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac /System /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python /System/Library /框架/Python。framework/Versions/2.7/lib/python2.7/lib-tk /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old /System/Library/Frameworks/Python.framework/版本/2.7/lib/python2.7/lib-dynload /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC /Library/Python/2.7/site-packages /Library/Python/ 2.7/站点包/PIL

我可以删除 Python“框架”的一个“副本”吗?并且会在工作中复制所有模块文件吗?

我已经使用这台电脑几年了,所以我可能无意中做了一些导致这种情况的事情。

4

0 回答 0