python和numpy matplotlib版本匹配,以及安裝指定版本庫
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.
已知的兼容版本:
????python3.6;
????numpy1.16.3或者1.18.2;
????pandas0.24.2;
????matplotlib3.0.3
????scipy 1.3.1
????scikit-learn==0.22.1
一、卸載
pip uninstall numpy
其他庫類似
二、安裝
安裝指定版本的庫
conda install numpy==1.16.3
或
pip install matplotlib==3.0.3
pip install scipy==1.3.1
親測pip install 比conda install更快
三、驗證
輸入
python
import numpy
import matplotlib
成功!
至此老衲的pytorch的GPU環(huán)境和tensorflow的GPU環(huán)境的sklearn已全部配置完畢!嘻嘻哈哈!文章來源:http://www.zghlxwxcb.cn/news/detail-507266.html
多謝大家的點贊文章來源地址http://www.zghlxwxcb.cn/news/detail-507266.html
到了這里,關于python和numpy matplotlib版本匹配,以及安裝指定版本庫的文章就介紹完了。如果您還想了解更多內容,請在右上角搜索TOY模板網以前的文章或繼續(xù)瀏覽下面的相關文章,希望大家以后多多支持TOY模板網!