question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

My code

import asyncio
import aiohttp
import aiosocks
from aiosocks.connector import ProxyConnector, ProxyClientRequest

Error:

Traceback (most recent call last):
  File "F:\Anaconda3\lib\site-packages\aiosocks\connector.py", line 4, in <module>
    from aiohttp.client_exceptions import certificate_errors, ssl_errors
ImportError: cannot import name 'certificate_errors'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "asds.py", line 4, in <module>
    from aiosocks.connector import ProxyConnector, ProxyClientRequest
  File "F:\Anaconda3\lib\site-packages\aiosocks\connector.py", line 6, in <module>
    raise ImportError('aiosocks.SocksConnector require aiohttp library')
ImportError: aiosocks.SocksConnector require aiohttp library

What to do?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

5reactions
xinhuangcommented, Oct 28, 2018

aiohttp changed the names to cert_errors. Need a fix.

3reactions
mikeck1commented, Dec 7, 2020

Why is this closed? Upload changes to pip first.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there any difference between "it's not working" and "it doesn ...
It is correct to say "It's not working" when something is broken permanently, however, if something is broken forever (or permanently), stating, "It...
Read more >
Which is correct, 'it doesn't work' or 'It doesn't works'? - Quora
“it doesn't work” is correct. As you know, English uses the helping verb do for negative statements and for questions. The only thing...
Read more >
"Why does it not work" Vs. "Why is it not working"?
Native speakers say both: Why isn't it working? Why doesn't it work? Both questions mean "What's wrong with it?" or "What is causing...
Read more >
something will not work​/​start​/​open etc ​Definitions and ...
used for saying that you cannot make something do what it should do, although you have tried. The engine won't start. Synonyms and...
Read more >
7 Ways to Troubleshoot If BeReal Is Not Working
If BeReal is not working on your iPhone or Android, there are several ways you can troubleshoot the app or your phone to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found