Why would you install python 2.7. Its dead. Has not been supported in ages.Hello. I have the following problem if you can help me. I tried "every" solution on the internet.
Does anyone have an idea for Flexget installation?
When I try it on the Pi4, with python 3, it crashes:Code:
Getting requirements to build wheel ... donePreparing metadata (pyproject.toml) ... errorerror: subprocess-exited-with-error× Preparing metadata (pyproject.toml) did not run successfully.│ exit code: 1╰─> [6 lines of output]Cargo, the Rust package manager, is not installed or is not on PATH.This package requires Rust and Cargo to compile extensions. Install it throughthe system's package manager or via https://rustup.rs/Checking for Rust toolchain....[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.error: metadata-generation-failed× Encountered error while generating package metadata.╰─> See above for output.note: This is an issue with the package mentioned above, not pip.hint: See above for details.
I installed an older system with python 2.7 on a pi3b, and pip does not install there with this error:Can anyone help?Code:
rr:1 http://raspbian.raspberrypi.org/raspbian buster/main armhf libexpat1-dev armhf 2.2.6-2+deb10u1404 Not Found [IP: 93.93.128.193 80]Err:2 http://raspbian.raspberrypi.org/raspbian buster/main armhf libjs-jquery all 3.3.1~dfsg-3404 Not Found [IP: 93.93.128.193 80]Err:3 http://raspbian.raspberrypi.org/raspbian buster/main armhf libjs-underscore all 1.9.1~dfsg-1404 Not Found [IP: 93.93.128.193 80]Err:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython2.7 armhf 2.7.16-2+deb10u1404 Not Found [IP: 93.93.128.193 80]Err:5 http://raspbian.raspberrypi.org/raspbian buster/main armhf libpython2.7-dev armhf 2.7.16-2+deb10u1404 Not Found [IP: 93.93.128.193 80]Err:6 http://raspbian.raspberrypi.org/raspbian buster/main armhf python2.7-dev armhf 2.7.16-2+deb10u1404 Not Found [IP: 93.93.128.193 80]Err:7 http://raspbian.raspberrypi.org/raspbian buster/main armhf python-ipaddress all 1.0.17-1404 Not Found [IP: 93.93.128.193 80]Err:8 http://raspbian.raspberrypi.org/raspbian buster/main armhf python-cryptography armhf 2.6.1-3+deb10u2404 Not Found [IP: 93.93.128.193 80]E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/e/expat/libexpat1-dev_2.2.6-2+deb10u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/j/jquery/libjs-jquery_3.3.1~dfsg-3_all.deb 404 Not Found [IP: 93.93.128.193 80]E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/u/underscore/libjs-underscore_1.9.1~dfsg-1_all.deb 404 Not Found [IP: 93.93.128.193 80]E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/libpython2.7_2.7.16-2+deb10u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/libpython2.7-dev_2.7.16-2+deb10u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python2.7/python2.7-dev_2.7.16-2+deb10u1_armhf.deb 404 Not Found [IP: 93.93.128.193 80]E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python-ipaddress/python-ipaddress_1.0.17-1_all.deb 404 Not Found [IP: 93.93.128.193 80]E: Failed to fetch http://raspbian.raspberrypi.org/raspbian/pool/main/p/python-cryptography/python-cryptography_2.6.1-3+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?
Sounds like you just might need to install rust and cargo (along with their dependencies). I have not played with that, but try that, Install rust and cargo (Google instructions for that).
I don't have a pi handy, but I wonder if cargo and rust are part of bulid-essentials, if it is, you can install that with
Code:
sudo apt install build-essential
Statistics: Posted by memjr — Mon Jun 03, 2024 2:36 am