You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When launching my app, I get the following error. However, this happens only in a specific environment as described in the system info below.
Traceback (most recent call last):
File "/root/app/package/webapp.py", line 11, in<module>
import gradio as gr
File "/usr/local/lib/python3.12/site-packages/gradio/__init__.py", line 3, in<module>
import gradio._simple_templates
ModuleNotFoundError: No module named 'gradio._simple_template'
What am I missing?
Have you searched existing issues? 🔎
I have searched and found no existing issues
Reproduction
importgradioasgr
is enough.
Screenshot
No response
Logs
Traceback (most recent call last):
File "/root/app/package/webapp.py", line 11, in<module>
import gradio as gr
File "/usr/local/lib/python3.12/site-packages/gradio/__init__.py", line 3, in<module>
import gradio._simple_templates
ModuleNotFoundError: No module named 'gradio._simple_template'
System Info
Gradio Environment Information:
------------------------------
Operating System: Linux
gradio version: 5.20.0
gradio_client version: 1.7.2
------------------------------------------------
gradio dependencies in your environment:
aiofiles: 23.2.1
anyio: 4.8.0
audioop-lts is not installed.
fastapi: 0.115.11
ffmpy: 0.5.0
gradio-client==1.7.2 is not installed.
groovy: 0.1.2
httpx: 0.28.1
huggingface-hub: 0.29.1
jinja2: 3.1.5
markupsafe: 2.1.5
numpy: 2.0.2
orjson: 3.10.15
packaging: 24.2
pandas: 2.2.2
pillow: 11.1.0
pydantic: 2.10.6
pydub: 0.25.1
python-multipart: 0.0.20
pyyaml: 6.0.2
ruff: 0.9.9
safehttpx: 0.1.6
semantic-version: 2.10.0
starlette: 0.46.0
tomlkit: 0.13.2
typer: 0.15.1
typing-extensions: 4.12.2
urllib3: 2.3.0
uvicorn: 0.34.0
authlib; extra == 'oauth' is not installed.
itsdangerous; extra == 'oauth' is not installed.
gradio_client dependencies in your environment:
fsspec: 2025.2.0
httpx: 0.28.1
huggingface-hub: 0.29.1
packaging: 24.2
typing-extensions: 4.12.2
websockets: 15.0
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered:
Describe the bug
When launching my app, I get the following error. However, this happens only in a specific environment as described in the system info below.
What am I missing?
Have you searched existing issues? 🔎
Reproduction
is enough.
Screenshot
No response
Logs
System Info
Severity
Blocking usage of gradio
The text was updated successfully, but these errors were encountered: