>>> pip uninstall numpy
File "<stdin>", line 1
pip uninstall numpy
当使用numpy库显示如下问题时,需更新第三方库
AttributeError: module 'numpy' has no attribute '__version__'
打开Anaconda prompt命令 如果打开了python文件输入exit(),然后输入pip uninstall numpy
根据提示我们需要更新pip,然后重新安装numpy库
这时,又出现了一个错误,
ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org