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 Introduction to Pillow

Trying to install Pillow with pip.

I tried to install Pillow with pip but I keep getting this error /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

I do not know what this means and I do not know how to fix it.

2 Answers

Nathan Tallack
Nathan Tallack
22,160 Points

As a workaround you might try to install the packages you require for your project locally to your project environment. Your IDE should help you support this. For example, if you are using PyCharm you could, from within your project, install new modules by following these instructions.

It is also good practice to do this sometimes as different projects may require different versions of modules. It also allows you to bundle up the modules with the project making it a little more portable if you are collaborating or sharing your project. Do take care not to distribute the modules publicly without understanding their copyright rules though. ;)

pip3 intall pillow from terminal