-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3.6.9 or later (Current = 3.7.3) and virtualenv (Installed = false) are required #677
Comments
Same issue … Raspberry Pi CM4
|
Am I correct that this is a Raspberry Pi 3? I don't really understand how to interpret all the fine nuances of
I look at the The reason I ask is because the script I'm about to point you to has been tested on Raspberry Pi OS Bullseye but not on Buster. It might work but it might make things worse. It sounds like this might be the same as #601. If you agree, click this link and follow the instructions. Please let me know the outcome. |
This worked for me too, thanks @Paraphraser |
I was getting the same exact messages, the Pi builder script linked above did not change the situation.
|
@johncaipa Someone with more Python knowledge than I have may want to correct me but, when I look at your The mention of 307 packages needing updating also gives me the frights. Running an When I see "old", I always start to wonder about the rigorousness with which developers maintain backwards compatibility. I'm not saying that's what's going on here with Python, merely that that might explain it. Before you decide to rebuild using 64-bit Bookworm, perhaps try this:
If that doesn't work then (a) read to the end of this reply before you do anything, (b) take a backup of your IOTstack and (c) cross your fingers, hold your breath and run:
and then try the menu again, perhaps also with the virtual-env stuff above. If you can't get anywhere (or, worst case, the upgrade breaks your system) then I think you'll need to rebuild. If you decide to do that, I recommend PiBuilder. I've just tested it with the 2024-03-12 Bookworm releases, including using IOTstackBackup to restore backups taken on a Bullseye system. The PiBuilder README may look a bit daunting but it boils down to:
Please ask if you need any help with any of this. In particular, if you aren't using IOTstackBackup already, you need to be slightly cautious about how you prepare the backup. In essence, your stack needs to be down, you need to save Also, the combination of 2021, armv7l and 307 packages makes me wonder whether you have kept your Docker images up-to-date? Not every Docker image likes jumping multiple versions so, after a rebuild, a "restore" and an "up", you might find containers moaning. Sorry to be the bearer of bad news like this but… |
It looks like the virtualenv commit for menu.sh has some problems with newer version of python.
Env: Raspberry Pi with
Linux raspberrypi3 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux
Python 3.7.3
After running ./menu.sh the error is
After selecting to install:
Also:
Is this because after Python 3.7 virutalenv is used via "python3 -m virtualenv"?
The text was updated successfully, but these errors were encountered: