问题描述

怎么在python命令行查看python环境安装位置

解决办法

在python命令行执行下面代码

import sys
print(sys.executable)

将会输出python解释器所在位置

发表回复