Anaconda install python module

        When I was about to install some python modules today, I found that after the installation was successful, they could not be used in pycharm, so I remembered that what I configured in pycharm was the environment in Anaconda, and what I installed directly using the command line was downloaded to the Python interpreter. So I also need to install those modules in Anaconda.
At the beginning, I tried these methods but it didn't work:

  • Double-click to open Anaconda Prompt (Anaconda 3) (open the system menu and find anaconda to see it), enter pip install (xxx), the name of the third-party package to be installed in the brackets. Press Enter to complete the installation. (This is a command installation)
  • Double-click to open Anaconda Navigator, select the Environments interface. Then select Not install, search for the required library package name in the search box on the right, select the required library package, and select apply to install
  • Double-click to open Anaconda Prompt (Anaconda 3) (open the system menu and find anaconda to see it), enter conda install (xxx), the name of the third-party package to be installed in the brackets. Press Enter to complete the installation. (This is a command installation)
Then I thought of using the mirror to install, double-click to open Anaconda Prompt (Anaconda 3), and then use this command to solve it smoothly:
     pip install -i https://pypi.tuna.tsinghua.edu.cn/simple Library name

Guess you like

Origin blog.csdn.net/hexiechuangxin/article/details/113788004