Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 指定 httpx 版本到 0.23.3 #670

Closed
wants to merge 1 commit into from

Conversation

plucury
Copy link
Contributor

@plucury plucury commented Apr 16, 2023

描述

默认安装最新版本httpx==0.24.0,并且设置了环境变量 NO_PROXY=::1时, import gradio会报错
image
image

相关问题

指定httpx版本到0.23.3后程序正常启动

补充信息

encode/httpx#2659

开发进度

  • 指定httpx 版本到 0.23.3

@MZhao-ouo
Copy link
Collaborator

MZhao-ouo commented Apr 19, 2023

我在Linux和Windows上测试都没有问题,更新gradio版本到3.25.0试试。
image

@plucury
Copy link
Contributor Author

plucury commented Apr 19, 2023

我在Linux和Windows上测试都没有问题,更新gradio版本到3.25.0试试。 image

gradio版本确实是3.25.0, 难道只有mac有这个问题?

@plucury
Copy link
Contributor Author

plucury commented Apr 19, 2023

encode/httpx#2659
应该是这个问题。当设置了环境变量export NO_PROXY=::1 后可以复现

@GaiZhenbiao
Copy link
Owner

我在macOS上,将httpx更新到了0.24.0,一切正常👀

(chat) ➜  ChuanhuChatGPT git:(main) ✗ pip list | grep httpx      
httpx                         0.24.0

@plucury
Copy link
Contributor Author

plucury commented Apr 19, 2023

我在macOS上,将httpx更新到了0.24.0,一切正常👀

(chat) ➜  ChuanhuChatGPT git:(main) ✗ pip list | grep httpx      
httpx                         0.24.0

export NO_PROXY=::1 试试

@GaiZhenbiao
Copy link
Owner

那确实就不行了

@MZhao-ouo MZhao-ouo closed this May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants