Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
4.1k views
in Technique[技术] by (71.8m points)

mac安装fbprophet 结果报No module named 'numpy'

image.png
这是最终报错

但是前面的编译已经过了
image.png

我也看了 确实有numpy这个模块啊

求大神解答


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

在这里记录下
因为fbprophet需要pandas>=1.0.4
所以自动升级最新版pandas,但是不知道为什么最新版pandas时和numpy似乎不兼容

所以我先指定pip install --upgrade pandas==1.0.4
然后再安装就成功了


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...