-
Notifications
You must be signed in to change notification settings - Fork 41
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
Installation fails on fresh SD card Pi4 #1095
Comments
I think you might have caught some of the python modules in the middle of an upgrade. You may want to wait a while (maybe even a few hours) and try again. Clear the pip cache before you try again.
|
Have you had a chance to try again? |
Just did a fresh SD card again, and ran from scratch: Collecting astropy (from -r /home/ecjoyner/indi-allsky/requirements/requirements_latest.txt (line 3)) × pip subprocess to install build dependencies did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × pip subprocess to install build dependencies did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. ############### ERROR############### The setup script exited abnormally, please try to run again... |
I tested a new build on an x86_64 system today and I did not have any issues. I will test on a Rpi4 tomorrow. |
No issues on the build on a Raspi. While I have not had this particular issue, I have experienced some weird issues that affected my ability to download packages and python modules due to what I suspect being old DNS entries floating around my ISPs DNS servers. I would like you to try to manually change your DNS servers in /etc/resolv.conf to be |
I tried the DNS change also. Strange thing is it continued to happen even after wiping the SD again (several times now). So we started fresh one more time and did Thomas' allsky instead just to see. It also failed with hash errors. No idea here. I did ultimately get Thomas' installed by deleting /tmp/package and re-runining where it picked up where it left off. After several deletes of /tmp/package and restarting of the installer it finished. So at least he has that version now. Not sure if that would have worked for indi-allsky. Not being a python person, I really don't know what to do. I can tell you on my own allsky camera (indi-allsky) I had a similar issue with hashes, but eventually I got it to work (1 month ago or so).No Idea what I did. Some permutation of deleting things in venv /bin/pycache etc. Thanks. Bryan |
Is it possible that your raspberry pi disk image was corrupted? |
I suppose that is possible, but otherwise everything is working fine. apt-get update upgrade, etc.. He was using the default pi imager to write the default 64bit image.
It's just interesting that had the same problem with hashes, a little while ago even if it ultimately worked with some encouragement.
…--
***@***.***
Pterodyne LLC | Design, Technology Consulting
Bryan Ramsey | ***@***.******@***.***> | 720-298-2796
-----Original Message-----
From: Aaron W Morris ***@***.******@***.***%3e>>
Reply-To: aaronwmorris/indi-allsky ***@***.******@***.***%3e>>
To: aaronwmorris/indi-allsky ***@***.******@***.***%3e>>
Cc: pterodyne ***@***.******@***.***%3e>>, Author ***@***.******@***.***%3e>>
Subject: Re: [aaronwmorris/indi-allsky] Installation fails on fresh SD card Pi4 (Issue #1095)
Date: 01/16/2024 02:16:42 PM
Is it possible that your raspberry pi disk image was corrupted?
—
Reply to this email directly, view it on GitHub<#1095 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALSQIL52HFWYXR363JHZ5SLYO3N2VAVCNFSM6AAAAABBVYWZXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUGQ2DQMBXGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
The only other thing I can think of is perhaps the sdcard is failing (assuming it was the same card in both cases). |
We'll try another one for fun.
Thanks.
…--
***@***.***
Pterodyne LLC | Design, Technology Consulting
Bryan Ramsey | ***@***.******@***.***> | 720-298-2796
-----Original Message-----
From: Aaron W Morris ***@***.******@***.***%3e>>
Reply-To: aaronwmorris/indi-allsky ***@***.******@***.***%3e>>
To: aaronwmorris/indi-allsky ***@***.******@***.***%3e>>
Cc: pterodyne ***@***.******@***.***%3e>>, Author ***@***.******@***.***%3e>>
Subject: Re: [aaronwmorris/indi-allsky] Installation fails on fresh SD card Pi4 (Issue #1095)
Date: 01/16/2024 09:23:57 PM
The only other thing I can think of is perhaps the sdcard is failing (assuming it was the same card in both cases).
—
Reply to this email directly, view it on GitHub<#1095 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ALSQIL5KHRDQYJENRWLWBYDYO4743AVCNFSM6AAAAABBVYWZXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJUHA3TKNRYG4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
,Not sure what is going on. Im helping a friend install. We even re-imaged the pi and after installing git, pulling it down and running setup it goes on for a while and then fails:
Collecting pip
Using cached https://www.piwheels.org/simple/pip/pip-23.3.2-py3-none-any.whl (2.1 MB)
Requirement already satisfied: setuptools in ./virtualenv/indi-allsky/lib/python3.11/site-packages (66.1.1)
Collecting setuptools
Downloading https://www.piwheels.org/simple/setuptools/setuptools-69.0.3-py3-none-any.whl (819 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╺ 802.8/819.5 kB 123.3 kB/s eta 0:00:01
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
setuptools from https://www.piwheels.org/simple/setuptools/setuptools-69.0.3-py3-none-any.whl#sha256=55a27b1207ffd06fc72552920c9ea1ce81541b8b651ae406bf3d3bb153bf316f:
Expected sha256 55a27b1207ffd06fc72552920c9ea1ce81541b8b651ae406bf3d3bb153bf316f
Got b945db0b7f7606a493cbda212b6373648eb07b8efedd591f9d7a946994f5638e
###############
ERROR
###############
The setup script exited abnormally, please try to run again...
Ive also tried removing the venv.
Any ideas what to do here?
Trying to use libcamera on an imx477
thanks
Bryan
uname -a
Linux raspberrypi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
The text was updated successfully, but these errors were encountered: