Comments (4)
That should be the right approach, though you might need to sudo apt update
first to ensure your sources are up to date.
But, broadly, yes this looks like it needs some documenting!
It might be easier to uninstall the pypi version of pil
(python3 -m pip uninstall pil
iirc) and use apt's version: sudo apt install python3-pil
which should pull in the necessary dependencies automagically.
Normally our install.sh
scripts do this for you, but it looks like Inky is lagging behind our newer packages 😬
from inky.
Thank you for following up so quickly!
sudo apt install python3-pil
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libimagequant0 liblcms2-2 libtiff5 libwebpdemux2 libwebpmux3 python3-olefile
Suggested packages:
liblcms2-utils python-pil-doc python3-pil-dbg
The following NEW packages will be installed:
libimagequant0 liblcms2-2 libtiff5 libwebpdemux2 libwebpmux3 python3-olefile python3-pil
0 upgraded, 7 newly installed, 0 to remove and 116 not upgraded.
Need to get 614 kB/974 kB of archives.
After this operation, 2,712 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libtiff5 armhf 4.1.0+git191117-2~deb10u2
404 Not Found [IP: 93.93.128.193 80]
Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf python3-pil armhf 5.4.1-2+deb10u2
404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/t/tiff/libtiff5_4.1.0+git191117-2~deb10u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/pillow/python3-pil_5.4.1-2+deb10u2_armhf.deb 404 Not Found [IP: 93.93.128.193 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Strangely I'm getting a similar set of missing IPs here. I don't think it's entirely on my end because I've been able to download plenty of other packages and have run sudo apt update
several times
from inky.
I'm not sure what's going on here, but I think your package management is subtly broken.
Those broken URLs are broken for me too, but the package manager shouldn't even be trying to download stuff that doesn't exist.
A reinstall might be necessary since you'll likely continue to have trouble installing other things (this issue has nothing directly to do with our libraries), or perhaps try:
sudo apt update
sudo apt upgrade
sudo apt --fix-missing update
from inky.
That fixed my problem!! Thank you.
from inky.
Related Issues (20)
- Feature request: faster monochrome updates on Inky Impression HOT 2
- eeprom.py SMBus needs to be closed HOT 1
- SSD1608 Custom Lookup table HOT 2
- How to map palette to impression 7.3 colours and avoid dithering
- Make inky work with NVIDIA Jetson Nano HOT 1
- Magic number and checksum for eeprom HOT 1
- Pi Zero W - Not Enough Ram to pip install seaborn HOT 1
- `InkyMockImpression.set_image` fails with `AttributeError`
- `InkyMockImpression` class doesn't easily support multiple resolutions
- Use on any non-Pi machines? HOT 3
- Treating Inky pHAT-Red as Black/White doesn't work
- Busy Wait error - Line 323/333 HOT 1
- AttributeError: 'FreeTypeFont' object has no attribute 'getsize'
- Odd permissions issue on new Inky Impressions 7.3" HOT 1
- error: externally-managed-environment HOT 1
- Forcing black and white only on 7 color. HOT 2
- Partial Update or Single Pixel Update for all Inky Impression HOT 1
- Incompatible with Raspberry Pi 5B? HOT 8
- Not installable on MacOS for development
- Can't get Inky to work on Raspberry Pi Zero 2 W HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inky.