如何在 PyCharm 中选择 Python 版本? [英] How to select Python version in PyCharm?
本文介绍了如何在 PyCharm 中选择 Python 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有 PyCharm 1.5.4 并使用打开目录"选项在 IDE 中打开文件夹的内容.
I have PyCharm 1.5.4 and have used the "Open Directory" option to open the contents of a folder in the IDE.
我选择了 Python 3.2 版(它显示在外部库"节点下).
I have Python version 3.2 selected (it shows up under the "External Libraries" node).
如何选择另一个版本的 Python(我已在我的机器上安装)以便 PyCharm 使用该版本?
How can I select another version of Python (that I already have installed on my machine) so that PyCharm uses that version instead?
推荐答案
File -> Settings
File -> Settings
Preferences->Project Interpreter->Python Interpreters
Preferences->Project Interpreter->Python Interpreters
如果未列出,请添加它.
If it's not listed add it.
这篇关于如何在 PyCharm 中选择 Python 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文