Failed to use proxy? #565
JohnWatsonFd
started this conversation in
Ideas
Replies: 1 comment
-
These should be two separate lines: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Here I use the code as below,
pg = ProxyGenerator() pg.FreeProxies() scholarly.use_proxy(pg)
but raise error: init_() got an unexpected keyword argument 'proxies'
This is because the verision of 'httpx'
Here is the solution:
pip uninstall httpx pip install httpx==0.27.2
The reference is here:https://community.openai.com/t/error-with-openai-1-56-0-client-init-got-an-unexpected-keyword-argument-proxies/1040332
Beta Was this translation helpful? Give feedback.
All reactions