Skip to content Skip to sidebar Skip to footer

Import Urllib3 Works In Terminal But Not On Idle

I am using Mac OSX 10.10.5, and Python version 3.5.2, and IDLE version 3.5.2. I am extremely new to Python, and am trying to use the urllib3 module in IDLE. I have used the followi

Solution 1:

Like the error message already shows:

You have two Python Versions on your Mac. Python 3.5 and Python 2.7 (by default).

The IDLE process depends on the python version in which IDLE starts. So make sure your using the same Python version (same IDLE). The command "pip install urllib3" only works for the default python version - which is different to your python version in IDLE.

So you just have to install urllib3 for Python3.5 too.

Post a Comment for "Import Urllib3 Works In Terminal But Not On Idle"