Because it is connected remotely, the environment used is on the Linux server, just install this package on the Linux server.
Because my Pycharm's interpreter is my own new environment, the name is Pytorch
So I need to activate my Pytorch in the terminal now, and then install the package
Note: You need to add a path to activate the environment, otherwise the activation will fail. Often someone will activate the environment in this way, and an error will be reported:
source Pytorch
Demonstrate after exiting the environment with the conda deactivate code:
After the environment is activated, enter the following code to install
pip install matplotlib==3.5.3 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
Note: Because I have successfully installed the package, those messages will pop up later