Configure a conda virtual environment
Create a conda environment based on environment.yml
-
Do one of the following:
-
Go to
. -
On the Welcome Screen, click Open.
-
-
Browse for the directory which contains your source files and the environment.yml file, and then click Open (on Mac) or OK (on Windows):
-
If you didn’t create a project and configure a Python interpreter in that directory before, PyCharm suggests creating a conda environment:
-
Keep the suggested options, or specify an alternative Conda executable. Click OK to complete the task.
Once you click OK, PyCharm creates an environment and installs all the required packages.
Note that if you ignore a suggestion to create a Conda environment, PyCharm won’t create a Python interpreter for your project. So, any time when you open a .py file, you’ll see the warning with the options for configuring a project interpreter:
2024最新激活全家桶教程,稳定运行到2099年,请移步至置顶文章:https://sigusoft.com/99576.html
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。 文章由激活谷谷主-小谷整理,转载请注明出处:https://sigusoft.com/12613.html