Python 3安装位置

时间:2018-05-12 09:48:09

标签: python python-3.x

我使用的是Ubuntu 16.04。 python 3安装目录在哪里?
运行" whereis python3"在终端给我:

  

python3:/usr/bin/python3.5m-config / usr / bin / python3   /usr/bin/python3.5m
/usr/bin/python3.5-config /usr/bin/python3.5   / usr / lib / python3
/usr/lib/python3.5 / etc / python3 /etc/python3.5   /usr/local/lib/python3.5
/usr/include/python3.5m   /usr/include/python3.5
/ usr / share / python3   /usr/share/man/man1/python3.1.gz

同样在哪里是intrepreter,即python 3可执行文件?我将如何将此路径添加到Pycharm?

1 个答案:

答案 0 :(得分:0)

你可以试试这个:

which python3