【发布时间】:2019-01-02 03:56:18
【问题描述】:
我在 Linux Mint 19 Tara Xfce 上使用 Pycharm Community 2018.1.4。
它适用于 Python 3.5 解释器。 我安装了 Python 3.7 作为系统上的默认 Python 解释器。
python -V 命令返回Python 3.7.0b3
我想在 Pycharm 中使用 Python 3.7。
我试过了:
which python
/usr/bin/python
which python3.7
/usr/local/bin/python3.7
当我转到File > Settings > Project 和Interpreter > Add 并且没有/usr/local 文件夹并且/usr/bin 中没有python3.7 时
我可以在终端中将 cd 到 /usr/local/bin 文件夹,但 Pycharm 不能。
我重新启动、卸载/重新安装了 Pycharm,刷新了它的内部浏览器,重新启动了我的电脑。没有任何改变。
我错过了什么?
【问题讨论】:
标签: python pycharm interpreter