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

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-modulenotfounderror-no-module-named-gradio%2F55881%3E%5C
**Category:** Beginners\
**Created:** [September 21, 2023, 1:44pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-modulenotfounderror-no-module-named-gradio%2F55881 "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](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fbrunop26)%5C
**Post date:** [September 21, 2023, 1:44pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Ferror-modulenotfounderror-no-module-named-gradio%2F55881%2F1 "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
# ...

```
