简体   繁体   English

使用 Anaconda 基础虚拟环境在 PyCharm 中设置项目

[英]Setting up a project in PyCharm using the Anaconda base virtual environment

I'm trying to set up a Python project in PyCharm.我正在尝试在 PyCharm 中建立一个 Python 项目。 I have Anaconda installed, and I want to make use of the Anaconda base virtual environment as the interpreter of the project.我已经安装了 Anaconda,我想利用 Anaconda 基础虚拟环境作为项目的解释器。 Is this possible?这可能吗? Going through the setup process I see only the other virtual environments, not the base environment.在设置过程中,我只看到其他虚拟环境,而不是基本环境。

I think I managed to figure this out.我想我设法解决了这个问题。 In PyCharm I'm simply selecting an existing interpreter (instead of creating a new environment), and pointing to the python executable in the Anaconda install folder.在 PyCharm 中,我只是选择一个现有的解释器(而不是创建一个新环境),并指向 Anaconda 安装文件夹中的 python 可执行文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM