ImportError: No module named 'urlparse' may occur after upgrading to urllib3 1.19
For anyone experiencing this problem, please refer to https://github.com/shazow/urllib3/pull/1025, then change line 45 of (/usr/lib/python3.5/site-packages/)urllib3/contrib/appengine.py from from urlparse import urljoin to from urllib.parse import urljoin as a temp workaround.
I can confirm this issue. After upgrading to the latest urllib on Arch Linux, I'm experiencing exactly the same problem.
The problem introduced itself with version 1.19. Downgrading to 1.18.1 temporarily resolved the issue.
For the interested reader who is also on Arch Linux, you can downgrade packages by installing the previous version from pacman's cache.
cd /var/cache/pacman/pkg
pacman -U python-urllib3-1.18.1-1-any.pkg.tar.xz python2-urllib3-1.18.1-1-any.pkg.tar.xz
Same issue, the fix proposed by Saren-Arterius worked tho.
Same issue here. Downgrading, as suggested by @xelra, worked like a charm.
@maiaftv You might still want to update your system. If you're wondering how to do that, there's the --ignore switch in pacman.
So you can just update as usual with
pacman -Syu --ignore python-urllib3 --ignore python2-urllib3
Use pip3 install urllib3==1.18.1
Thank you, @anthonypelletier. I will keep this way until December, since I'm working round the clock to finish up my thesis and get my MSc degree.
Moreover, I guess it's time to move for Gentoo. This Arch is running for 2 years, 2 months, and 30 days including today. Although I'm happy with it, I miss the learning curve by the time when I started to use Arch Linux.