配置Anaconda环境
In the Settings/Preferences dialog (⌘,), select Project: <project name> | Project Interpreter.

Alternatively, from the Welcome screen, select Configure.

Select Preferences.

Select Project Interpreter.

In the Project Interpreter page, click the gear icon and select Add.

In the left-hand pane of the Add Python Interpreter dialog box, select Conda Environment. The following actions depend on whether the conda environment existed before.

添加一个仓库到工程
This project uses the bottle package, which is available on the conda-forge channel.

To add the conda-forge channel, select Preferences (⌘,).

Select + to display the packages available in the defaults channel.

To add a repository, select Manage Repositories, select +, and enter “conda-forge”. Select OK.

The packages from both defaults and conda-forge will be displayed.
Type “bottle” into the search bar and select Install Package.

After bottle is installed, it will be displayed in the project environment.

网友评论