查看python安装路径
Posted shijie-huang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了查看python安装路径相关的知识,希望对你有一定的参考价值。
命令行
import sys sys.path
得到:
import sys
sys.path
[‘C:\Program Files\JetBrains\PyCharm Community Edition 2019.3\plugins\python-ce\helpers\pydev‘,
‘C:\Program Files\JetBrains\PyCharm Community Edition 2019.3\plugins\python-ce\helpers\third_party\thriftpy‘,
‘C:\Program Files\JetBrains\PyCharm Community Edition 2019.3\plugins\python-ce\helpers\pydev‘,
‘C:\Users\78658\Envs\Flask_demo1\lib‘,
‘C:\Users\78658\Envs\Flask_demo1\Scripts‘,
‘c:\anaconda\Lib‘,
‘c:\anaconda\DLLs‘,
‘C:\Users\78658\Envs\Flask_demo1‘,
‘C:\Users\78658\Envs\Flask_demo1\lib\site-packages‘,
‘D:\test‘, ‘D:/test‘]
以上是关于查看python安装路径的主要内容,如果未能解决你的问题,请参考以下文章