# Error " ModuleNotFoundError: No module named 'gradio'"

**URL:** <https://discuss.huggingface.co/t/error-modulenotfounderror-no-module-named-gradio/55881>\
**Category:** Beginners\
**Created:** [September 21, 2023, 1:44pm UTC](https://discuss.huggingface.co/t/error-modulenotfounderror-no-module-named-gradio/55881 "2023-09-21T13:44:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunop26](https://avatars.discourse-cdn.com/v4/letter/b/59ef9b/32.png) [@brunop26](https://discuss.huggingface.co/u/brunop26)\
**Post date:** [September 21, 2023, 1:44pm UTC](https://discuss.huggingface.co/t/error-modulenotfounderror-no-module-named-gradio/55881/1 "2023-09-21T13:44:14Z")

</div>

Hello,  
Despite the operations below to resolve the error with gradio, it persists. How can I resolve this error?  
Thank you

Error :  
Error " ModuleNotFoundError: No module named ‘gradio’"

Operations performed :

Run this command in the terminal:

```auto
pip install gradio

```

If it is installed and code still throws the same error, then place these two lines first:

```auto
import sys
sys.path.append( path_to_the_gradio_module )

import openai
import gradio
# ...

```
