Numpy版本的查看、降级(自定版本下载)

查看numpy版本

pip show numpy

numpy官网

NumPy 查看当前可选版本。

卸载numpy

pip uninstall numpy

自定numpy版本下载/降级下载

pip install -U numpy==1.15.4 
# 1.15.4是自定的版本号

出现这的报错就是numpy需要降级了:

FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐