Jonathan
Jonathan

Reputation: 201

Installing Pillow on macOS Mojave - running python 3.7

I'm totally new and all the stuff within Terminal is beyond me.

I mananged to get Pillow 5.3 installed on my computer, but it went into the Python 2.7 folder in Library. I've been using Python 3.7 in PyCharm as I learn.

None of the import commands are working:

import PIL
from PIL import pillow
import pillow

My system doesn't recognize any of these. Do I need to move the Pillow 5.3 folder somewhere? I must be missing a step somewhere.

Upvotes: 3

Views: 934

Answers (1)

Matthieu Brucher
Matthieu Brucher

Reputation: 22023

You have to install pillow for Python 3.7, not 2.7.

pip3 install pillow

(if pip3 is available from your command line, otherwise, look where PyCharm has its Python 3.7 install).

Upvotes: 6

Related Questions