Application deployment error

Can anyone please help me with the error??

AttributeError: module ‘numpy’ has no attribute ‘bool’. np.bool was a deprecated alias for the builtin bool. To avoid this error in existing code, use bool by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_ here. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: NumPy 1.20.0 Release Notes — NumPy v2.0.dev0 Manual

the code can be found here

Hi @RATUL_BHOWMIK,

Thanks for posting!

Seems like the issue is coming from the version of dependencies you’re using. Try removing the versions and running it (unless you need the specific versions for some specific reason)

See pull request: Update requirements.txt by sfc-gh-tkipkemboi · Pull Request #1 · MohanChemoinformaticsLab/MsbAPred · GitHub

I hope this resolves your issue.

Happy Streamlit-ing! :balloon:


Still this error is shown

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