美文网首页
PyCharm添加Anaconda环境

PyCharm添加Anaconda环境

作者: mrknowledge | 来源:发表于2020-07-07 11:40 被阅读0次

    配置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.

    相关文章

      网友评论

          本文标题:PyCharm添加Anaconda环境

          本文链接:https://www.haomeiwen.com/subject/bylaqktx.html