You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have pip installed aiohttp but I cannot get it working
Expected behaviour
Not throw an error when I import it
Actual behaviour
Its's throwing this error:
Traceback (most recent call last):
File "C:\Users\PycharmProjects\Project\http.py", line 1, in
import aiohttp
File "C:\Users\AppData\Local\Programs\Python\Python37-32\lib\site-packages\aiohttp_init_.py", line 6, in
from .client import BaseConnector as BaseConnector
File "C:\Users\AppData\Local\Programs\Python\Python37-32\lib\site-packages\aiohttp\client.py", line 32, in
from . import hdrs, http, payload
File "C:\Users\AppData\Local\Programs\Python\Python37-32\lib\site-packages\aiohttp\http.py", line 1, in
import http.server
ModuleNotFoundError: No module named 'http.server'; 'http' is not a package
[Finished in 1.431s]
Steps to reproduce
Your environment
I am using the latest version of aiohttp and im on a windows operating system. I am using aiohttp for communicating with Discords server; a client
The text was updated successfully, but these errors were encountered:
On Sat, 26 Oct 2019 at 19:25, Sviatoslav Sydorenko ***@***.***> wrote:
Next time, please consider posting "help" questions on Discourse (#4257
<#4257>), StackOverflow or
mailing lists. This tracker is for bugs.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4278?email_source=notifications&email_token=ALISSV4ITVEWAGRHQZAHZVLQQSDRZA5CNFSM4JFNOSIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECKOAPA#issuecomment-546627644>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALISSVYTYBNXTKXEKFWPEADQQSDRZANCNFSM4JFNOSIA>
.
Long story short
I have pip installed aiohttp but I cannot get it working
Expected behaviour
Not throw an error when I import it
Actual behaviour
Its's throwing this error:
Traceback (most recent call last):
File "C:\Users\PycharmProjects\Project\http.py", line 1, in
import aiohttp
File "C:\Users\AppData\Local\Programs\Python\Python37-32\lib\site-packages\aiohttp_init_.py", line 6, in
from .client import BaseConnector as BaseConnector
File "C:\Users\AppData\Local\Programs\Python\Python37-32\lib\site-packages\aiohttp\client.py", line 32, in
from . import hdrs, http, payload
File "C:\Users\AppData\Local\Programs\Python\Python37-32\lib\site-packages\aiohttp\http.py", line 1, in
import http.server
ModuleNotFoundError: No module named 'http.server'; 'http' is not a package
[Finished in 1.431s]
Steps to reproduce
Your environment
I am using the latest version of aiohttp and im on a windows operating system. I am using aiohttp for communicating with Discords server; a client
The text was updated successfully, but these errors were encountered: