Heroku pandas numpy错误“无法导入所需的依赖项:\ n”

时间:2020-06-30 13:15:51

标签: pandas numpy heroku

这是我第一次将flask应用程序部署到heroku。我整天都在努力,但是遇到此错误后,我尝试删除添加需求的需求,但到目前为止似乎无济于事。

    2020-06-30T12:39:52.622174+00:00 app[web.1]: File "/app/app.py", line 18, in <module>
2020-06-30T12:39:52.622175+00:00 app[web.1]: import pandas as pd
2020-06-30T12:39:52.622175+00:00 app[web.1]: File "/app/.heroku/python/lib/python3.6/site-packages/pandas/__init__.py", line 17, in <module>
2020-06-30T12:39:52.622176+00:00 app[web.1]: "Unable to import required dependencies:\n" + "\n".join(missing_dependencies)
2020-06-30T12:39:52.622176+00:00 app[web.1]: ImportError: Unable to import required dependencies:
2020-06-30T12:39:52.622177+00:00 app[web.1]: numpy:
2020-06-30T12:39:52.622177+00:00 app[web.1]: Importing the multiarray numpy extension module failed.  Most
2020-06-30T12:39:52.622178+00:00 app[web.1]: likely you are trying to import a failed build of numpy.
2020-06-30T12:39:52.622178+00:00 app[web.1]: If you're working with a numpy git repo, try `git clean -xdf` (removes all

0 个答案:

没有答案