程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
您现在的位置: 程式師世界 >> 編程語言 >  >> 更多編程語言 >> Python

Python install Matplotlib

編輯:Python

PYTHON install Matplotlib
Reference books :《Python Programming , From introduction to practice 》
1. Install it first pip modular : Go to the website , Click on download files
website :https://pypi.org/project/pip/#description

[ Failed to transfer the external chain picture , The origin station may have anti-theft chain mechanism , It is suggested to save the pictures and upload them directly (img-9u1d52wV-1629619804179)(https://pypi.org/project/pip/#description#pic_center)]

2. Click the second download
3. Use cmd Command to install

4.pip Installation successful

5. install Matplotlib
Carry out orders

python -m pip install --user matplotlib


There is a warning here

according to warning Tips , First update

Use cd.. The command returns one level up , then cd Python_intall( This is my python The installation directory is set to F disc Python_intall Folder )
Then enter the command :
python.exe -m pip install --upgrade pip

result :

One more warning,
You need to add another environment variable

Click under the installation directory Scrips Folder , Copy the content of light punctuation

Search and edit system environment variables , newly build – Paste – determine

6. Repeat the next step 5

python -m pip install --user matplotlib

7. installation is complete !


  1. 上一篇文章:
  2. 下一篇文章:
Copyright © 程式師世界 All Rights Reserved