简体   繁体   中英

installing PIL for python 3.4

I have python 3.4 , and 2.7 installed on a ubuntu 14.4. I want to install PIL (or pillow if you wish...) on 3.4 but when I try :

$ sudo pip install pillow

It installs it on python 2.7 How do I make it install pillow on python3.4?

Use pip3 install pillow . You may need sudo .

sudo python3 -m pip install pillow raspberry pi python 3.4

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM