Split a wrongly combined try/except ImportError
The python 2/3 try/except for urlopen() was combined with an optional import of setuptools and pkg_resources. The end result is that IF you're on python2 and IF you use --allow-site-packages and IF you don't have setuptools installed, THEN you'll get an import error for the python 3 urlopen...
Showing
Please register or sign in to comment