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

no module named 'pip.vendor.requests.packages'?

I tried to follow the video to show the installed packages but it did not work. I also tried installing the packages - now if I run

pip list | grep "matplotlib*|numpy* or pip --isolated list | grep "matplotlib*|numpy*

I get this error:

Traceback (most recent call last):
File "/usr/local/pyenv/versions/3.5.0/bin/pip", line 7, in <module>
from pip import main
File "/home/treehouse/.local/lib/python3.5/site-packages/pip/init.py
from pip._vendor.requests.packages.urllib3.exceptions import Dependenc
File "/home/treehouse/.local/lib/python3.5/site-packages/pip/_vendor/req
n <module>
from .packages.urllib3.exceptions import DependencyWarning
ImportError: No module named 'pip._vendor.requests.packages'

Any ideas why?