Runtime error for the App

#7
by Miltonchan - opened

Runtime error
Traceback (most recent call last):
File "app.py", line 3, in
import gradio as gr
File "/home/user/.local/lib/python3.8/site-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/home/user/.local/lib/python3.8/site-packages/gradio/components.py", line 38, in
from gradio import media_data, processing_utils, utils
File "/home/user/.local/lib/python3.8/site-packages/gradio/processing_utils.py", line 17, in
from gradio import encryptor, utils
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 395, in
class Request:
File "/home/user/.local/lib/python3.8/site-packages/gradio/utils.py", line 415, in Request
client = httpx.AsyncClient()
File "/home/user/.local/lib/python3.8/site-packages/httpx/_client.py", line 1397, in init
self._transport = self._init_transport(
File "/home/user/.local/lib/python3.8/site-packages/httpx/_client.py", line 1445, in _init_transport
return AsyncHTTPTransport(
File "/home/user/.local/lib/python3.8/site-packages/httpx/_transports/default.py", line 275, in init
self._pool = httpcore.AsyncConnectionPool(
TypeError: init() got an unexpected keyword argument 'socket_options'

This is because the environment of the container is updated, but the environment of the .so file is still an old version. I will make an update.

TachibanaYoshino changed discussion status to closed

Sign up or log in to comment