1、terminal(终端) : 

input(输入): which python 或which Python 或which python*(Python的版本号)

Python--mac/终端/iTerm 查看python安装路径

 

 

2、terminal:

input : python  --->import sys  ----> print sys.path

使用exit()退出Python交互式模式:

Python--mac/终端/iTerm 查看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

这两个路径的区别是?

相关文章:

  • 2021-05-17
  • 2022-12-23
  • 2021-11-15
  • 2021-08-08
  • 2021-11-15
  • 2021-08-08
猜你喜欢
  • 2021-06-27
  • 2021-12-12
  • 2021-11-15
  • 2021-08-07
  • 2021-10-29
  • 2021-11-15
相关资源
相似解决方案