Podcast
- Datenschutz & Cookies: Diese Website verwendet Cookies. Wenn du die Website weiterhin nutzt, stimmst du der Verwendung von Cookies zu.
Weitere Informationen, beispielsweise zur Kontrolle von Cookies, findest du hier: Cookie-Richtlinie
Schlagwort-Archive: pocketchip
Python Pillow on ARM / auf ARM Processorn [Raspberry Pi/PocketChip/etc]
On my PocketChip i cant install pillow the problem was the jpeg encoding . this tutorial solve the problem:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
### download and compile the JPEG library wget http://www.ijg.org/files/jpegsrc.v8c.tar.gz tar xvfz jpegsrc.v8c.tar.gz cd jpeg-8c ./configure --enable-shared --prefix=$CONFIGURE_PREFIX make sudo make install ### link the libraries correctly - RASPBERRY PI ONLY sudo ln -s /usr/lib/arm-linux-gnueabi/libjpeg.so /usr/lib sudo ln -s /usr/lib/arm-linux-gnueabi/libfreetype.so /usr/lib sudo ln -s /usr/lib/arm-linux-gnueabi/libz.so /usr/lib ### install rest of the libraries, as well as freetrype and zlib sudo apt-get install libjpeg-dev libfreetype6 libfreetype6-dev zlib1g-dev ### re-install PIL sudo pip3 install pillow |
source
Veröffentlicht unter Python
Verschlagwortet mit code, pillow, pocketchip, python, RaspberryPi
Schreib einen Kommentar