numpy为例:因为numpy==1.19.x 和numpy==1.17.x不兼容!!!!
1.查看当前的版本:
pip show numpy
2.降低
pip install -U numpy==1.17.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
还有一种办法,比较暴力:
先卸载再安装,嘿嘿!!!
pip uninstall numpy
pip install numpy==1.17.1
numpy为例:因为numpy==1.19.x 和numpy==1.17.x不兼容!!!!
1.查看当前的版本:
pip show numpy
2.降低
pip install -U numpy==1.17.0 -i https://pypi.tuna.tsinghua.edu.cn/simple
还有一种办法,比较暴力:
先卸载再安装,嘿嘿!!!
pip uninstall numpy
pip install numpy==1.17.1