anaconda配置python环境pycharm_jetbrainspycharm

anaconda配置python环境pycharm_jetbrainspycharmConfigure a conda virtual environmentCreate a conda environment based on environment.ymlDo one of the following:Go to File | Open.O

Configure a conda virtual environment

Create a conda environment based on environment.yml

  1. Do one of the following:

    • Go to File | Open.

    • On the Welcome Screen, click Open.

  2. Browse for the directory which contains your source files and the environment.yml file, and then click Open (on Mac) or OK (on Windows):

    Opening a yml file
  3. If you didn’t create a project and configure a Python interpreter in that directory before, PyCharm suggests creating a conda environment:

    Create a Conda environment using the requirements.txt file
  4. 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:

Warning with options for configuring a project interpreter

2024最新激活全家桶教程,稳定运行到2099年,请移步至置顶文章:https://sigusoft.com/99576.html

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请联系我们举报,一经查实,本站将立刻删除。 文章由激活谷谷主-小谷整理,转载请注明出处:https://sigusoft.com/12613.html

(0)
上一篇 2024年 5月 14日 下午10:02
下一篇 2024年 5月 14日 下午10:10

相关推荐

关注微信