# Application deployment error

**URL:** <https://discuss.streamlit.io/t/application-deployment-error/46904>\
**Category:** Deployment\
**Created:** [July 10, 2023, 12:05pm UTC](https://discuss.streamlit.io/t/application-deployment-error/46904 "2023-07-10T12:05:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RATUL\_BHOWMIK](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/ratul_bhowmik/32/26904_2.png) [@RATUL\_BHOWMIK](https://discuss.streamlit.io/u/RATUL_BHOWMIK)\
**Post date:** [July 10, 2023, 12:05pm UTC](https://discuss.streamlit.io/t/application-deployment-error/46904/1 "2023-07-10T12:05:45Z")

</div>

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](https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations)

the code can be found here

> <https://github.com/MohanChemoinformaticsLab/MsbAPred/blob/main/Msba_Pred.py>

---

<div class="post-metadata">

**Author:** ![tonykip](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/tonykip/32/45167_2.png) [@tonykip](https://discuss.streamlit.io/u/tonykip)\
**Post date:** [July 10, 2023, 1:33pm UTC](https://discuss.streamlit.io/t/application-deployment-error/46904/2 "2023-07-10T13:33:52Z")

</div>

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](https://github.com/MohanChemoinformaticsLab/MsbAPred/pull/1)

I hope this resolves your issue.

Happy Streamlit-ing! 🎈

---

<div class="post-metadata">

**Author:** ![RATUL\_BHOWMIK](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/ratul_bhowmik/32/26904_2.png) [@RATUL\_BHOWMIK](https://discuss.streamlit.io/u/RATUL_BHOWMIK)\
**Post date:** [July 10, 2023, 3:15pm UTC](https://discuss.streamlit.io/t/application-deployment-error/46904/3 "2023-07-10T15:15:24Z")

</div>

![error](https://global.discourse-cdn.com/streamlit/original/3X/6/8/68ed83538a24e07f63dc43a4faba4cb4bae4316e.png)  
Still this error is shown

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/streamlit/original/3X/c/f/cf4c2ee0d938358f82448c5fe4b9c3c91d7ce19c.svg) [@system](https://discuss.streamlit.io/u/system)\
**Post date:** [January 6, 2024, 3:15pm UTC](https://discuss.streamlit.io/t/application-deployment-error/46904/4 "2024-01-06T15:15:45Z")

</div>

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