Python scientific research application know almost, how to install python library

Hello everyone, the editor will answer the following questions for you, python scientific research application knowledge, python scipy library installation, let us take a look now!

First, cmd enters the python-s directory, and then enters the code

1. Install numpy

Install online. This method refers to the web page:
https://www.cnblogs.com/qing-5/p/7845135.html

This mirror installation is very fast and the pseudo-original of the God Code AI locomotive collector .

1. Make sure pip is installed

2. cmd, then pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy , so that the numpy library will be installed from the Tsinghua image. . Because it may fail to install directly using foreign pip mirrors, at this time we need to use domestic pip mirrors, and recommend the mirror of Tsinghua University https://pypi.tuna.tsinghua.edu.cn/simple
insert image description here

2. I don’t have Baidu to install pandas
. I think it should be able to install directly with pip, so I follow the gourd and enter pip install pandas in cmd.

I found that the installation was very slow, so I decided to use a mirror installation for the next database. It's really slow. I've waited for more than five minutes and haven't installed it yet. So, I stepped on mine for everyone. Never directly pip in the future!!!

Five hundred years later, finally. . . . .
insert image description here

3. Install seaborn

I'm going to use mirroring again! !
Enter in cmd:
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ seaborn

insert image description here
One click, and it's installed! ! Brothers, put Tsinghua mirror nb on the public screen!

It seems that matplotlib is automatically installed for me here.

Guess you like

Origin blog.csdn.net/mynote/article/details/132204494