How to quickly install Python third-party packages with Anaconda - Anaconda usage tutorial

Time: 2024-05-11Source: Huajun Software TutorialAuthor: Ai Xiaomo

How to quickly install Python third-party packages using Anaconda? The following is the editor's introduction to Anaconda's method of quickly installing Python third-party packages. If you are in need, please take a look below. I hope it can help you!

GUI mode

Open Anaconda Navigator and select the Environments interface

Installation of various third-party libraries under Anaconda
Installation of various third-party libraries under Anaconda

Select the python environment you want to configure, enter the third-party package to be installed in the search box on the right, check it after finding it, and click the apply button at the bottom right to complete the installation.

Installation of various third-party libraries under Anaconda
Installation of various third-party libraries under Anaconda

CLI mode

Double-click to open Anaconda Prompt, enter pip install (xxx), the name of the third-party package to be installed is in brackets. Press Enter to complete the installation.

Installation of various third-party libraries under Anaconda

Double-click to open Anaconda Prompt, enter conda install (xxx), the name of the third-party package to be installed is in brackets. Press Enter to complete the installation.

Installation of various third-party libraries under Anaconda

After the installation is complete, enter python -c "import **; **.test()" to test whether the installation is successful. If it is not successful, re-execute the installation program or perform subsequent operations based on the error message.

Above, I shared with you how Anaconda can quickly install Python third-party packages. Friends in need should hurry up and read this article.

Related articles更多>>

Popular recommendations