win10 under general python3 installation depth learning to use the library

matplotlib: Drawing Library

seaborn: matplotlib based graphical visualization package

numpy: functions, matrix arithmetic library

pandas: based on structured data analysis library numpy

First look at the cmd can use pip (usually installed python comes with the installation pip), you can not put the pip position to join the Path environment variable inside the computer.

But I added environment variables or not used, it can only enter the running position of the pip. This is my position, I was in VS2019 coat of python, so the python directory in VS below, and then there are scripts python pip in the directory.

There are three pip: pip, pip3 and pip3.7, in python3 under these three it is the same.

Find the location, enter cmd inside here, you can run the pip (if the environment variable plus a useful, do not need to enter here will be able to use)

Then install the library file, the code is as follows (I added here --user user is installed in the system, instead of installing the entire system. --User will complain because they do not increase, and the reason may be related to permissions. I do not thin research, and installed directly in user):

pip install --user matplotlib -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install --user numpy -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install --user pandas -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
pip install --user seaborn scipy  -i http://pypi.douban.com/simple --trusted-host pypi.douban.com

Successful installation!

If pip version updates, there will be a warning can be ignored.

Guess you like

Origin www.cnblogs.com/qizhou/p/12179835.html