-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Trouble with import conflict in request.py #1323
Comments
@hatarist coincidently enough, I had almost the same problem yesterday. In my case, I was from invoking
How is your environment? Can you provide the result of your Python call using the
Cheers! |
Sorry for the late reply. Seems like I found the issue. The problem seems to be the So if I run I run the The issue is reproducible using 3.6.5 on both Linux and OS X with such commands:
with such an output:
|
@hatarist thanks for pointing this out. I think @ahopkins already pointed me out what may be the root cause of this and probably is by the fact we have a file inside the Sanic source code called |
Yeah, I know. Thanks, I appreciate it. |
@sjsadowski no, it was on a chat some days ago (referencing this issue). Perhaps we need to re-open it or create a new one referencing this one. |
Pardon me. If you guys need a pull request from me with the name change, could do, just not so sure about the name. |
Is there a work around for running something like |
@wapiflapi like @bunyk said in the referenced issue above, you could run sanic with |
It seems it tries to use sanic's
http.py
instead of the builtin Python library. Thehttp.py
itself is used only twice, in theresponse.py
&exceptions.py
.Am I missing something and/or have something misconfigured?
The text was updated successfully, but these errors were encountered: