The current python third-party package version is too high, how to reduce the version

Take numpy as an example: because numpy==1.19.x and numpy==1.17.x are not compatible! ! ! !

1. View the current version:

pip show numpy

2. Lower

pip install -U numpy==1.17.0 -i https://pypi.tuna.tsinghua.edu.cn/simple

There is another way, which is more violent:

Uninstall and then install, hehe! ! !

pip uninstall numpy
pip install numpy==1.17.1

 

Guess you like

Origin blog.csdn.net/MasterCayman/article/details/112056216