Skip to content
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

cannot import name 'unquote' #128

Closed
invious opened this issue Jan 28, 2018 · 5 comments
Closed

cannot import name 'unquote' #128

invious opened this issue Jan 28, 2018 · 5 comments

Comments

@invious
Copy link

invious commented Jan 28, 2018

Traceback (most recent call last):
  File "/usr/local/bin/pyportify-copyall", line 7, in <module>
    from pyportify.copy_all import main
  File "/usr/local/lib/python3.6/site-packages/pyportify/copy_all.py", line 12, in <module>
    from pyportify import app
  File "/usr/local/lib/python3.6/site-packages/pyportify/app.py", line 11, in <module>
    from aiohttp import web, ClientSession
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web.py", line 15, in <module>
    from . import (hdrs, web_exceptions, web_fileresponse, web_middlewares,
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 5, in <module>
    from aiohttp.web_urldispatcher import SystemRoute
  File "/usr/local/lib/python3.6/site-packages/aiohttp/web_urldispatcher.py", line 20, in <module>
    from yarl import URL, unquote
ImportError: cannot import name 'unquote'
@bigdevwhale
Copy link

same error

@johnsinco
Copy link

+1

@mchelem
Copy link

mchelem commented Feb 3, 2018

This is related to aio-libs/aiohttp#2662.

The workaround is to downgrade yarl to 0.18.0.

pip uninstall yarl
pip install yarl==0.18.0

@FSund
Copy link

FSund commented Feb 9, 2018

Seems like this bug still exists on the version uploaded to PyPi, but I think the latest version on Github is fixed. Not sure how to go about uploading the new version, so just wanted to give a notification here.

@rckclmbr
Copy link
Owner

Whoops, thanks for letting me know. Just updated pypi too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants