查看 python安装目录

打开终端 

输入: which python

打开终端

依此输入:

python  

import sys

print sys.path

原文地址:https://www.cnblogs.com/melody-emma/p/4685878.html