-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
v3.37。Github源。设置本地ollama接口出现报错:VideoTrans - ERROR - 字幕翻译失败,Client.__init__() got an unexpected keyword argument 'proxies'。在更改httpx库的版本后,报出新问题:[LocalLLM]:连接服务失败无法连接当前AP:http:/127.0.0.1:11434 connection error #672
Open
Comments
|
BY9267
changed the title
设置本地ollama接口出现报错:2024-12-16 22:55:29,670 - VideoTrans - ERROR - 字幕翻译失败,Client.__init__() got an unexpected keyword argument 'proxies'
v3.37。Github源。设置本地ollama接口出现报错:2024-12-16 22:55:29,670 - VideoTrans - ERROR - 字幕翻译失败,Client.__init__() got an unexpected keyword argument 'proxies'
Dec 17, 2024
pip install httpx==0.27.0 目前来说,在venv环境下,安装这个库的这个版本,似乎是解决了问题。(不要装最新版本,最新28似乎也报错!) 具体还没细看,如果有没有后续就大抵是解决了。也说不定,反正就先这样了。 |
This comment was marked as outdated.
This comment was marked as outdated.
BY9267
changed the title
v3.37。Github源。设置本地ollama接口出现报错:2024-12-16 22:55:29,670 - VideoTrans - ERROR - 字幕翻译失败,Client.__init__() got an unexpected keyword argument 'proxies'
v3.37。Github源。设置本地ollama接口出现报错:VideoTrans - ERROR - 字幕翻译失败,Client.__init__() got an unexpected keyword argument 'proxies'。在更改httpx库的版本后,报出新问题:[LocalLLM]:连接服务失败无法连接当前AP:http:/127.0.0.1:11434 connection error
Dec 17, 2024
httpx直接安装最新版即可,不需要指定版本,有兼容问题 api后需要加 |
sk随便填点东西, 123 之类的 |
pip install --upgrade httpx之后就是0.28版本,但是这个运行会出错。说没有代理参数 |
用 0.27 吧,httpx升级了,删掉了这个 proxies 参数 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
连接本地api报错
环境变量如下
开不开梯子都一样。
The text was updated successfully, but these errors were encountered: