This article describes how to install Python language modules in the Anaconda environment.matplotlib
In previous articles, we have introduced the use of the Python language matplotlib
library many times; and in this article, we will introduce the method of configuring the library in the Anaconda environment .matplotlib
First, open the Anaconda Prompt software, as shown in the figure below.
Here, since I want to configure the library in a Pythonpy36tf
virtual environment named Python , I first enter this environment through the following code; for the creation and entry of the virtual environment, you can refer to the article Creating a Python virtual environment in Anaconda, Use and deletion (https://blog.csdn.net/zhebushibiaoshifu/article/details/128334614).matplotlib
activate py36tf
Run the above code to enter the specified virtual environment, as shown in the figure below.
Next, we can start matplotlib
the configuration of the library; by entering the following code, matplotlib
the configuration of the library will start.
conda install -c conda-forge matplotlib
Run the above code, wait for a while, and the words shown in the figure below will appear.
Next, enter y
to start matplotlib
the configuration of the library. Wait for a while, and the situation shown in the figure below will appear, which means that matplotlib
the library has been configured.
matplotlib
At this point, we can check whether the configuration of the library is successfully completed through the code shown in the figure below .
If no error is reported, matplotlib
the library has been successfully configured.
So far, you're done.
Welcome to pay attention: Crazy learning GIS