GithubHelp home page GithubHelp logo

Comments (4)

Gadgetoid avatar Gadgetoid commented on June 3, 2024

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.

thnewlands avatar thnewlands commented on June 3, 2024

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.

Gadgetoid avatar Gadgetoid commented on June 3, 2024

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.

thnewlands avatar thnewlands commented on June 3, 2024

That fixed my problem!! Thank you.

from inky.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.