可以使用 sys.executable 查看路径, 如下:
import sys
print sys.executable
这样我们知道当前 python 路径为 / usr/bin/python 了
https://cloud.tencent.com/developer/news/320850
https://cloud.tencent.com/developer/news/314065
https://blog.csdn.net/txpp520/article/details/104046155