gpt4 book ai didi

python - Numpy 已安装但仍然出现一些错误

转载 作者:太空宇宙 更新时间:2023-11-03 21:09:06 24 4
gpt4 key购买 nike

我正在尝试运行 jupyter 笔记本并收到以下错误。我正在使用 Win 7 和 anaconda python 3.7。

ImportError: Something is wrong with the numpy installation. While importing we detected an older version of numpy in ['C:\Users\shaher11\Anaconda3\lib\site-packages\numpy']. One method of fixing this is to repeatedly uninstall numpy until none is found, then reinstall this version.

我认为这与提到的here是同样的问题

最佳答案

我在 python 3.6 上遇到了类似的问题(我必须将其用于 Keras),并且使用“conda remove numpy”和“conda install numpy”重新安装并没有解决问题。

有效的是使用 pip3 代替。即“pip 3 安装 numpy”

我认为 conda 试图为 python 版本安装错误版本的 numpy。对于您的 python 3.7 问题可能值得一试。

关于python - Numpy 已安装但仍然出现一些错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55190273/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com