Python--mac/终端/iTerm 查看python安装路径
1、terminal(终端) :
input(输入): which python 或which Python 或which python*(Python的版本号)
2、terminal:
input : python --->import sys ----> print sys.path
使用exit()退出Python交互式模式:
3、mac版Pycharm第三方库路径
/Library/Python/2.7/lib/python/site-packages
cd /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
这两个路径的区别是?