esw12345
esw12345

Reputation: 101

Pillow cannot be installed via pip

When I try to run pip install pillow, I get:

ValueError: --enable-jpeg requested but jpeg not found, aborting.

I installed lib-jpeg (via brew install libjpeg and brew install jpeg), and I also installed pillow (via brew install pillow) in my virtual environment. But, pip install pillow still does not work, and when I try to run my code, which uses the imread() function, imread() is not recognized (which means that pillow is not installed?).

I do not have root access (so I cannot use sudo apt-get) I am ssh'd into an Odyssey computer using the CentOS 6.5 version of the Linux. Thanks!

Upvotes: 0

Views: 158

Answers (1)

esw12345
esw12345

Reputation: 101

Figured this out.

I have to install anaconda via:

wget http://09c8d0b2229f813c1b93-c95ac804525aac4b6dba79b00b39d1d3.r79.cf1.rackcdn.com/Anaconda-2.1.0-Linux-x86_64.sh

and pillow will be one of the modules installed!

Upvotes: 1

Related Questions