安装matplotlib报错了。。。麻烦老师解答
来源:1-6 Pandas、Numpy、Matplotlib实操
智商不够_熬夜来凑
2022-03-29
pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple/
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Requirement already satisfied: matplotlib in /opt/anaconda3/lib/python3.9/site-packages (3.4.3)
Requirement already satisfied: numpy>=1.16 in /opt/anaconda3/lib/python3.9/site-packages (from matplotlib) (1.20.3)
Requirement already satisfied: python-dateutil>=2.7 in /opt/anaconda3/lib/python3.9/site-packages (from matplotlib) (2.8.2)
Requirement already satisfied: pyparsing>=2.2.1 in /opt/anaconda3/lib/python3.9/site-packages (from matplotlib) (3.0.4)
Requirement already satisfied: kiwisolver>=1.0.1 in /opt/anaconda3/lib/python3.9/site-packages (from matplotlib) (1.3.1)
Requirement already satisfied: cycler>=0.10 in /opt/anaconda3/lib/python3.9/site-packages (from matplotlib) (0.10.0)
Requirement already satisfied: pillow>=6.2.0 in /opt/anaconda3/lib/python3.9/site-packages (from matplotlib) (8.4.0)
Requirement already satisfied: six in /opt/anaconda3/lib/python3.9/site-packages (from cycler>=0.10->matplotlib) (1.16.0)
2回答
-
flare_zhao
2022-04-02
已经安装过了
00 -
智商不够_熬夜来凑
提问者
2022-03-29
(imooc_ai) chenguoqingdeMacBook-Pro:~ chenguoqing$ pip install matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple/
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple/
Collecting matplotlib
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/07/2e/0122487af85f542f8d65a883b6470f044ddb9d0159c95488a6747314d231/matplotlib-3.5.1-cp39-cp39-macosx_10_9_x86_64.whl (7.3 MB)
|████████████████████████████████| 7.3 MB 653 kB/s
Collecting numpy>=1.17
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/58/55/6fef1ef16124066b96d5b5cb107c8e0af20b2007b79ba8f7e52ca2e1b2b7/numpy-1.22.3-cp39-cp39-macosx_10_14_x86_64.whl (17.6 MB)
|████████████████████████████████| 17.6 MB 1.0 MB/s
Collecting kiwisolver>=1.0.1
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/22/1b/a367b9ad4f01c751063c7d09fa94df38f4e043fe63c4caa188b65474b74e/kiwisolver-1.4.2-cp39-cp39-macosx_10_9_x86_64.whl (65 kB)
|████████████████████████████████| 65 kB 390 kB/s
Requirement already satisfied: pyparsing>=2.2.1 in /opt/anaconda3/envs/imooc_ai/lib/python3.9/site-packages (from matplotlib) (3.0.4)
Collecting fonttools>=4.22.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/b0/5c/5dd502b0e2e0cb2980fc4ed17e970089003e377115abf79b1918097f4996/fonttools-4.31.2-py3-none-any.whl (899 kB)
|████████████████████████████████| 899 kB 540 kB/s
Collecting pillow>=6.2.0
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/70/42/ecdde20336656550db979f1d8266f3711b935122de3ecba4707d1a87cce8/Pillow-9.0.1-cp39-cp39-macosx_10_10_x86_64.whl (3.0 MB)
|████████████████████████████████| 3.0 MB 429 kB/s
Collecting cycler>=0.10
Downloading https://pypi.tuna.tsinghua.edu.cn/packages/5c/f9/695d6bedebd747e5eb0fe8fad57b72fdf25411273a39791cde838d5a8f51/cycler-0.11.0-py3-none-any.whl (6.4 kB)
Requirement already satisfied: python-dateutil>=2.7 in /opt/anaconda3/envs/imooc_ai/lib/python3.9/site-packages (from matplotlib) (2.8.2)
Requirement already satisfied: packaging>=20.0 in /opt/anaconda3/envs/imooc_ai/lib/python3.9/site-packages (from matplotlib) (21.3)
Requirement already satisfied: six>=1.5 in /opt/anaconda3/envs/imooc_ai/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib) (1.16.0)
Installing collected packages: pillow, numpy, kiwisolver, fonttools, cycler, matplotlib
Successfully installed cycler-0.11.0 fonttools-4.31.2 kiwisolver-1.4.2 matplotlib-3.5.1 numpy-1.22.3 pillow-9.0.1
(imooc_ai) chenguoqingdeMacBook-Pro:~ chenguoqing$
搞定了,但是‘Requirement already satisfied’这个还是出现了,不明白为什么
00
相似问题