How can I add interpreter to PyCharm?(如何将解释器添加到 PyCharm?)
问题描述
当我尝试在编辑器中运行代码时,它说没有可用的解释器.请帮忙.我该如何解决这个问题?
只需阅读 PyCharm 的文档.
https://www.jetbrains.com/pycharm/quickstart/configuring_interpreter.htmlp>
一步一步:
- 转到
设置
. - 转到
项目解释器
部分. - 点击加号(+)按钮并选择
Local
选项. - 搜索解释器,在 Linux 中它通常在
/usr/bin/python
或/usr/bin/pythonX.Y
中,其中 X 和 Y 是版本.在 Windows 中,它通常位于C:python
中. - 最后一步保存设置,您已经配置了解释器.
PD:如果你在 Linux 上安装了 python,如果你在使用 Windows,你可以从这里下载:https://www.python.org/downloads/windows/
When I try to run code in editor,it says that there is no available interpreters.Please,help.How can I solve the problem?
Just read the PyCharm's Docs.
https://www.jetbrains.com/pycharm/quickstart/configuring_interpreter.html
Step by step:
- Go to
Settings
. - Go to the section
Project Interpreter
. - Click on the plus (+) button and select the
Local
option. - Search for the interpreter, in Linux it is used to be in
/usr/bin/python
or/usr/bin/pythonX.Y
where X and Y are the version. In Windows, it is used to be inC:python
. - Last step save the settings and you have configured the interpreter.
PD: If you are on Linux python is installed and if you are using Windows, you can download from here: https://www.python.org/downloads/windows/
这篇关于如何将解释器添加到 PyCharm?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何将解释器添加到 PyCharm?


基础教程推荐
- 用于分类数据的跳跃记号标签 2022-01-01
- 如何让 python 脚本监听来自另一个脚本的输入 2022-01-01
- Python kivy 入口点 inflateRest2 无法定位 libpng16-16.dll 2022-01-01
- 在 Python 中,如果我在一个“with"中返回.块,文件还会关闭吗? 2022-01-01
- 筛选NumPy数组 2022-01-01
- Dask.array.套用_沿_轴:由于额外的元素([1]),使用dask.array的每一行作为另一个函数的输入失败 2022-01-01
- 线程时出现 msgbox 错误,GUI 块 2022-01-01
- 使用PyInstaller后在Windows中打开可执行文件时出错 2022-01-01
- 何时使用 os.name、sys.platform 或 platform.system? 2022-01-01
- 如何在海运重新绘制中自定义标题和y标签 2022-01-01