mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
InvalidURL: Invalid port: ':1]' #153
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KristofPusztai on GitHub (Oct 10, 2024).
It seems the httpx dependency requirement is set to be
httpx = "^0.27.0", however, when using all versions that satisfy this requirement, I get aInvalidURL: Invalid port: ':1]'error which is easily fixed if I downgrade to httpx==0.23.3 as suggested by this other post which ran into the same issue in the openai client.I think this dependency requirement should be changed as it seems incompatible out of the box. Or is there perhaps something I'm doing wrong on my end that's making it so that the proper version isn't working? I haven't changed any default settings or ports or anything.
@KristofPusztai commented on GitHub (Oct 10, 2024):
nvm, seems it's an issue with httpx and setting
no_proxy, hopefully httpx team can get on this!