Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python Installing Python

How do I download Pip? I downloaded Python from their page and tried to download easy_install but it didn't work.

This is the error that I get when I try to use easy_install to download Pip3. Not sure what to do.

Traceback (most recent call last): File "/usr/local/bin/easy_install", line 11, in <module> load_entry_point('setuptools==28.8.0', 'console_scripts', 'easy_install')() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 357, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2394, in load_entry_point return ep.load() File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2108, in load entry = import(self.module_name, globals(),globals(), ['name']) File "build/bdist.macosx-10.11-intel/egg/setuptools/init.py", line 10, in <module> File "build/bdist.macosx-10.11-intel/egg/setuptools/extern/init.py", line 1, in <module> ImportError: No module named extern

Benjamin Lange
Benjamin Lange
16,178 Points

It looks like the install is using Python 2. Can you check to be sure that you computer is running Python 3? What command are you entering to start the install or pip3?

2 Answers

I just downloaded Python 3.6 from python.org and the latest version of pip was included (you can see in the video at 2:02 when Kenneth gets to the custom install screen, that his 3.5 download also included a pip installation or upgrade).

Make sure you exit() out of the python shell before typing pip3 --version (otherwise you get an error).

pip install peewee will do it if you are working on your own environment