如何使用PyCharm插件在IntelliJ IDEA中配置Python解释器? [英] How do I configure a Python interpreter in IntelliJ IDEA with the PyCharm plugin?
问题描述
IDEA文档中有一个关于如何在PyCharm中添加Python解释器的教程,其中涉及访问Project Interpreter页面。即使在安装了Python插件之后,我也没有看到任何设置。
There is a tutorial in the IDEA docs on how to add a Python interpreter in PyCharm, which involves accessing the "Project Interpreter" page. Even after installing the Python plugin, I don't see that setting anywhere.
我错过了一些明显的东西吗?
Am I missing something obvious?
推荐答案
安装Python插件后,导航到文件>项目结构。在Project SDK的Project菜单下,选择New并选择Python SDK,然后选择Local。如果您安装了Python SDK,那么流程应该是自然的 - 导航到Python安装所在的位置。
With the Python plugin installed, navigate to File > Project Structure. Under the Project menu for Project SDK, select "New" and select "Python SDK", then select "Local". Provided you have a Python SDK installed, the flow should be natural from there - navigate to the location your Python installation lives.
这篇关于如何使用PyCharm插件在IntelliJ IDEA中配置Python解释器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!