csdn上好多说版本的问题?跟依赖的numpy不兼容?尝试了几个版本都不行,python3.7的环境。
python3.7环境
第一步:pip unstall numpy scipy matplotlib scikit-learn
第二步:(因为我安装的tensorflow2.5.0只支持numpy==1.19.2这个版本;pip插入scikit-learn依赖numpy和scipy,matplotlib并非依赖项,只是顺便降低一下版本)
pip install numpy==1.19.2
pip install scipy==1.3.1
pip install matplotlib==3.1.1
pip install scikit-learn==0.21.3