如何获取python的安装路径

如何获取python的安装路径

Windows

在 Windows 上,可以按下 Win + R 组合键,输入 cmd 并按下回车键,然后在命令行中输入 where python 命令来获取 Python 的安装路径。

Mac

在 Mac 上,可以打开终端并输入 which python 命令来获取 Python 的安装路径。

猜你喜欢

转载自blog.csdn.net/xili1342/article/details/132037240