I'm running Python 3.5.1 for Mac. I want to use urllib2
module. I tried installing it but I was told that it's been split into urllib.request
and urllib.error
for Python 3.
My command (running from the framework bin directory for now because it's not in my path):
sudo ./pip3 install urllib.request
Returns this:
Could not find a version that satisfies the requirement urllib.request (from versions: )
No matching distribution found for urllib.request
I got the same error before when I tried to install urllib2
in one fell swoop.
urllib.request
in your Python program?