繁体   English   中英

BUILD FAIL ON HEROKU

[英]BUILD FAIL ON HEROKU

Trying to deploy a python application on Heroku, however it fails in building with the following log:

      Building wheels for collected packages: numpy, pandas, scikit_learn, tornado, blinker, validators
      Building wheel for numpy (pyproject.toml): started
      Building wheel for numpy (pyproject.toml): still running...
      Building wheel for numpy (pyproject.toml): finished with status 'error'
      error: subprocess-exited-with-error

...

     × Building wheel for numpy (pyproject.toml) did not run successfully.
     │ exit code: 1
     ╰─> [1133 lines of output]

     note: This error originates from a subprocess, and is likely not a problem with pip.
     ERROR: Failed building wheel for numpy
     Building wheel for pandas (pyproject.toml): started
     Building wheel for pandas (pyproject.toml): still running...
     Building wheel for pandas (pyproject.toml): still running...
     Building wheel for pandas (pyproject.toml): finished with status 'error'
           error: subprocess-exited-with-error

Here is what the requirements.txt file looks like:

gspread<=5.4.0
numpy<=1.19.2
oauth2client<=4.1.3
pandas<=1.4.2
scikit_learn<=0.24.1
streamlit==1.10.0

Would appreciate your assistance.

我解决这个问题的方法就是不部署到 Heroku。 鉴于作品本身是基于流线型的。 只是继续在 Streamlit-Cloud 上部署应用程序,没有单一问题。

不确定这是否完全可以作为答案。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM