# Module not found error

**URL:** <https://discuss.streamlit.io/t/module-not-found-error/17561>\
**Category:** Using Streamlit\
**Created:** [September 27, 2021, 6:20pm UTC](https://discuss.streamlit.io/t/module-not-found-error/17561 "2021-09-27T18:20:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![krishan\_meena](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/krishan_meena/32/10816_2.png) [@krishan\_meena](https://discuss.streamlit.io/u/krishan_meena)\
**Post date:** [September 27, 2021, 6:20pm UTC](https://discuss.streamlit.io/t/module-not-found-error/17561/1 "2021-09-27T18:20:54Z")

</div>

I am trying to make a web app using streamlit. I have created fresh virtual environment for the project. installed all required libraries like Scikit-Learn and pandas-profiling. but as soon as I run my main.py file it gives me an error saying  
“ModuleNotFoundError: No module named 'pandas\_profiling”  
“ModuleNotFoundError: No module named 'sklearn”

all the packages are installed and running in terminal. but not with streamline. I have tried all the solutions from streamlit forums like creating virtual env.

and now it is happening for every library I use. is it a bug or something else.

---

<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:** [September 27, 2022, 6:21pm UTC](https://discuss.streamlit.io/t/module-not-found-error/17561/2 "2022-09-27T18:21:16Z")

</div>

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