Numpy Error - Streamlit deployment (from Github) Issue -- Encountered error while trying to install package numpy

Hello All,

My app has been pushed to github and from there, when I was tryin to deploy the same in streamlit, I am receiving the following error. Any help will be appreciated.

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for numpy
Running setup.py clean for numpy
error: subprocess-exited-with-error

ERROR: Failed cleaning build dir for numpy
Failed to build numpy
 note: This error originates from a subprocess, and is likely not a problem with pip.
      error: legacy-install-failure
      Γ— Encountered error while trying to install package.
      ╰─> numpy
[18:09:50] ❗️ installer returned a non-zero exit code

[18:09:50] ❗️ Error during processing dependencies! Please fix the error and push an update, or try restarting the app.

[18:11:24] ❗️ Streamlit server consistently failed status checks

[18:11:24] ❗️ Please fix the errors, push an update to the git repo, or reboot the app.

Can you share a link to your repository? Or can you share your complete requirements file? It may also help to see more of the logs to track down where the error started. (I would reboot your app and copy the complete logs from a fresh reboot if the error is in fact still occurring.)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.