aaronwmorris / indi-allsky

Software to manage a Linux-based All Sky Camera.
GNU General Public License v3.0
188 stars 31 forks source link

Update error - ImportError: numpy.core.multiarray failed to import #1353

Closed aaronwmorris closed 1 week ago

aaronwmorris commented 1 week ago
          I did a git pull this morning and getting an error

Error: While importing 'app', an ImportError was raised:   Traceback (most recent call last):   File "/home/pi/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/flask/cli.py", line 245, in locate_app     import(module_name)   File "/home/pi/indi-allsky/app.py", line 3, in     from indi_allsky.flask import create_app   File "/home/pi/indi-allsky/indi_allsky/flask/init.py", line 17, in     from .views import bp_allsky  # noqa: E402   File "/home/pi/indi-allsky/indi_allsky/flask/views.py", line 22, in     from ..processing import ImageProcessor   File "/home/pi/indi-allsky/indi_allsky/processing.py", line 11, in     import cv2   File "/home/pi/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/cv2/init.py", line 181, in     bootstrap()   File "/home/pi/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/cv2/init.py", line 153, in bootstrap     native_module = importlib.import_module("cv2")   File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module     return _bootstrap._gcd_import(name[level:], package, level) ImportError: numpy.core.multiarray failed to import     Usage: flask [OPTIONS] COMMAND [ARGS]... Try 'flask --help' for help.   Error: No such command 'db'.     ###############

  ERROR 

###############   The setup script exited abnormally, please try to run again...

SYSLOG showing

ImportError: numpy.core.multiarray failed to import

Originally posted by @Dentonknifeworks in https://github.com/aaronwmorris/indi-allsky/issues/1347#issuecomment-2186748232

Dentonknifeworks commented 1 week ago

Also during install see error

Installing collected packages: numpy Attempting uninstall: numpy Found existing installation: numpy 1.26.4 Uninstalling numpy-1.26.4: Successfully uninstalled numpy-1.26.4 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. astropy 6.0.1 requires numpy<2,>=1.22, but you have numpy 2.0.0 which is incompatible. Successfully installed numpy-2.0.0

aaronwmorris commented 1 week ago

@Dentonknifeworks Can you post the output of ./misc/support_info.sh?

Dentonknifeworks commented 1 week ago

./support_info.sh: line 61: warning: command substitution: ignored null byte in input #################################

indi-allsky support info

#################################


Distribution: raspbian
Release: 11
Arch: aarch64
Bits: 32

CPUs: 4
Memory: 3834296 kB

System: Raspberry Pi 4 Model B Rev 1.2

Linux CamperHQ190 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

Time
Mon 24 Jun 10:11:23 CDT 2024

System timezone
America/Chicago

Uptime
 10:11:23 up 23 min,  2 users,  load average: 0.14, 0.61, 0.92

Memory
               total        used        free      shared  buff/cache   available
Mem:         3834296      243876     2551816       44808     1038604     3468376
Swap:        2097148           0     2097148

Filesystems
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/root       30239172 17444984  11232768  61% /
devtmpfs         1652924        0   1652924   0% /dev
tmpfs            1917148        0   1917148   0% /dev/shm
tmpfs             766860     1116    765744   1% /run
tmpfs               5120        4      5116   1% /run/lock
tmpfs              76800        4     76796   1% /home/pi/allsky/tmp
/dev/mmcblk0p1    258095    52430    205665  21% /boot
tmpfs             383428       24    383404   1% /run/user/1000

sysctl info
vm.swappiness = 60

system python: Python 3.9.2

indiserver: /usr/bin/indiserver

IP Info
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
    link/ether dc:a6:32:f9:a3:6a brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 74:da:38:8f:8c:4e brd ff:ff:ff:ff:ff:ff
    inet 192.168.254.72/24 brd 192.168.254.255 scope global dynamic noprefixroute wlan0
       valid_lft 12992sec preferred_lft 11192sec
    inet6 fd20:7afb:8518:5a66:d41:c631:5a66:efc8/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 1439sec preferred_lft 1439sec
    inet6 fe80::c2c8:fb9b:7594:3f61/64 scope link 
       valid_lft forever preferred_lft forever

User info
uid=1000(pi) gid=1000(pi) groups=1000(pi),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),33(www-data),44(video),46(plugdev),60(games),100(users),101(systemd-journal),104(input),106(render),108(netdev),117(lpadmin),997(gpio),998(i2c),999(spi)

Process info
pi         699  0.0  0.0   4908  2740 ?        Ss   09:47   0:00 /usr/bin/indiserver -p 7624 indi_simulator_telescope indi_simulator_ccd
pi         702  0.0  0.2  33444 10008 ?        S    09:47   0:00 indi_simulator_telescope
pi         703  0.0  0.2  50968  9976 ?        Sl   09:47   0:00 indi_simulator_ccd

USB info
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 7392:7811 Edimax Technology Co., Ltd EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS]
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

USB Permissions
      124      0 drwxr-xr-x   4 root     root           80 Dec 31  1969 /dev/bus/usb
      127      0 drwxr-xr-x   2 root     root           60 Dec 31  1969 /dev/bus/usb/002
      128      0 crw-rw-r--   1 root     root     189, 128 Jun 24 09:47 /dev/bus/usb/002/001
      125      0 drwxr-xr-x   2 root     root          100 Sep 12  2022 /dev/bus/usb/001
      140      0 crw-rw-r--   1 root     root     189,   2 Jun 24 09:47 /dev/bus/usb/001/003
      139      0 crw-rw-r--   1 root     root     189,   1 Jun 24 09:47 /dev/bus/usb/001/002
      126      0 crw-rw-r--   1 root     root     189,   0 Jun 24 09:47 /dev/bus/usb/001/001

video device Permissions
crw-rw----+ 1 root video 81, 14 Jun 24 09:47 /dev/video0
crw-rw----+ 1 root video 81, 15 Jun 24 09:47 /dev/video1
crw-rw----+ 1 root video 81,  1 Jun 24 09:47 /dev/video10
crw-rw----+ 1 root video 81,  3 Jun 24 09:47 /dev/video11
crw-rw----+ 1 root video 81,  6 Jun 24 09:47 /dev/video12
crw-rw----+ 1 root video 81,  2 Jun 24 09:47 /dev/video13
crw-rw----+ 1 root video 81,  4 Jun 24 09:47 /dev/video14
crw-rw----+ 1 root video 81,  5 Jun 24 09:47 /dev/video15
crw-rw----+ 1 root video 81,  7 Jun 24 09:47 /dev/video16
crw-rw----+ 1 root video 81,  9 Jun 24 09:47 /dev/video18
crw-rw----+ 1 root video 81,  0 Jun 24 09:47 /dev/video19
crw-rw----+ 1 root video 81,  8 Jun 24 09:47 /dev/video20
crw-rw----+ 1 root video 81, 10 Jun 24 09:47 /dev/video21
crw-rw----+ 1 root video 81, 11 Jun 24 09:47 /dev/video22
crw-rw----+ 1 root video 81, 13 Jun 24 09:47 /dev/video23
crw-rw----+ 1 root video 81, 12 Jun 24 09:47 /dev/video31

v4l info
bcm2835-codec-decode (platform:bcm2835-codec):
    /dev/video10
    /dev/video11
    /dev/video12
    /dev/video18
    /dev/video31
    /dev/media4

bcm2835-isp (platform:bcm2835-isp):
    /dev/video13
    /dev/video14
    /dev/video15
    /dev/video16
    /dev/video20
    /dev/video21
    /dev/video22
    /dev/video23
    /dev/media2
    /dev/media3

unicam (platform:fe801000.csi):
    /dev/video0
    /dev/video1
    /dev/media0

rpivid (platform:rpivid):
    /dev/video19
    /dev/media1

Module info
Module                  Size  Used by
ctr                    16384  3
aes_arm64              16384  6
aes_generic            36864  1 aes_arm64
libaes                 16384  2 aes_arm64,aes_generic
ccm                    20480  9
8021q                  32768  0
garp                   16384  1 8021q
stp                    16384  1 garp
llc                    16384  2 stp,garp
rtl8192cu              90112  0
rtl_usb                20480  1 rtl8192cu
rtl8192c_common        65536  1 rtl8192cu
rtlwifi               118784  3 rtl8192c_common,rtl_usb,rtl8192cu
mac80211              974848  3 rtl_usb,rtl8192cu,rtlwifi
imx477                 24576  1
libarc4                16384  1 mac80211
cfg80211              925696  2 rtlwifi,mac80211
rfkill                 32768  4 rtlwifi,cfg80211
vc4                   331776  5
snd_soc_hdmi_codec     20480  0
drm_display_helper     16384  1 vc4
cec                    53248  1 vc4
bcm2835_codec          49152  0
bcm2835_isp            28672  0
bcm2835_v4l2           45056  0
bcm2835_unicam         53248  0
drm_dma_helper         20480  1 vc4
rpivid_hevc            53248  0
v4l2_dv_timings        40960  1 bcm2835_unicam
drm_kms_helper        204800  4 drm_dma_helper,vc4
bcm2835_mmal_vchiq     36864  3 bcm2835_codec,bcm2835_v4l2,bcm2835_isp
v4l2_fwnode            24576  2 imx477,bcm2835_unicam
v4l2_mem2mem           45056  2 bcm2835_codec,rpivid_hevc
v3d                    90112  5
v4l2_async             24576  3 v4l2_fwnode,imx477,bcm2835_unicam
videobuf2_vmalloc      16384  1 bcm2835_v4l2
videobuf2_dma_contig    20480  4 bcm2835_codec,bcm2835_unicam,rpivid_hevc,bcm2835_isp
snd_soc_core          274432  2 vc4,snd_soc_hdmi_codec
videobuf2_memops       16384  2 videobuf2_vmalloc,videobuf2_dma_contig
gpu_sched              49152  1 v3d
videobuf2_v4l2         32768  6 bcm2835_codec,bcm2835_unicam,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
snd_compress           20480  1 snd_soc_core
videobuf2_common       69632  10 bcm2835_codec,videobuf2_vmalloc,videobuf2_dma_contig,videobuf2_v4l2,bcm2835_unicam,bcm2835_v4l2,rpivid_hevc,v4l2_mem2mem,videobuf2_memops,bcm2835_isp
snd_bcm2835            28672  2
snd_pcm_dmaengine      20480  1 snd_soc_core
drm_shmem_helper       24576  1 v3d
snd_pcm               139264  5 snd_bcm2835,snd_soc_hdmi_codec,snd_compress,snd_soc_core,snd_pcm_dmaengine
raspberrypi_hwmon      16384  0
i2c_mux_pinctrl        16384  0
videodev              274432  10 v4l2_async,bcm2835_codec,videobuf2_v4l2,imx477,bcm2835_unicam,bcm2835_v4l2,videobuf2_common,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
i2c_mux                16384  1 i2c_mux_pinctrl
snd_timer              36864  1 snd_pcm
vc_sm_cma              36864  2 bcm2835_mmal_vchiq,bcm2835_isp
snd                   106496  10 snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
mc                     61440  10 v4l2_async,videodev,bcm2835_codec,videobuf2_v4l2,imx477,bcm2835_unicam,videobuf2_common,rpivid_hevc,v4l2_mem2mem,bcm2835_isp
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
i2c_bcm2835            16384  2
sysimgblt              16384  1 drm_kms_helper
nvmem_rmem             16384  0
fb_sys_fops            16384  1 drm_kms_helper
uio_pdrv_genirq        16384  0
uio                    24576  1 uio_pdrv_genirq
nf_tables             237568  0
nfnetlink              20480  1 nf_tables
drm                   581632  17 gpu_sched,drm_kms_helper,drm_dma_helper,v3d,vc4,drm_shmem_helper,drm_display_helper
i2c_dev                20480  4
fuse                  135168  3
drm_panel_orientation_quirks    28672  1 drm
backlight              24576  1 drm
ip_tables              32768  0
x_tables               53248  1 ip_tables
ipv6                  557056  40

git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    ../udo apt-get remove --purge lighttpd

nothing added to commit but untracked files present (use "git add" to track)

git log
commit 9777a7d7f7e7a8e0b3bb6d777bc8fbb406c32033
Merge: 0a883ad3 6146d8bc
Author: Aaron W Morris <aaron@aarmor.net>
Date:   Mon Jun 24 10:47:49 2024 -0400

    Merge pull request #1352 from aaronwmorris/dev

    add LM35 support via ADS1x15 ADC

indi version: 1.9.8

indi packages

indi connections
LISTEN 0      5             0.0.0.0:7624         0.0.0.0:*           

Detected indi properties
looking for *.*.*
Connected to localhost on port 7624
Queried properties from *
Telescope Simulator.CONNECTION.CONNECT=Off
Telescope Simulator.CONNECTION.DISCONNECT=On
CCD Simulator.CONNECTION.CONNECT=Off
CCD Simulator.CONNECTION.DISCONNECT=On
Telescope Simulator.DRIVER_INFO.DRIVER_NAME=Telescope Simulator
Telescope Simulator.DRIVER_INFO.DRIVER_EXEC=indi_simulator_telescope
Telescope Simulator.DRIVER_INFO.DRIVER_VERSION=1.0
Telescope Simulator.DRIVER_INFO.DRIVER_INTERFACE=5
Telescope Simulator.POLLING_PERIOD.PERIOD_MS=250
Telescope Simulator.DEBUG.ENABLE=Off
Telescope Simulator.DEBUG.DISABLE=On
Telescope Simulator.CONFIG_PROCESS.CONFIG_LOAD=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_SAVE=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_DEFAULT=Off
Telescope Simulator.CONFIG_PROCESS.CONFIG_PURGE=Off
Telescope Simulator.CONNECTION_MODE.CONNECTION_SERIAL=On
Telescope Simulator.CONNECTION_MODE.CONNECTION_TCP=Off
Telescope Simulator.DEVICE_PORT.PORT=/dev/ttyUSB0
Telescope Simulator.DEVICE_BAUD_RATE.9600=On
Telescope Simulator.DEVICE_BAUD_RATE.19200=Off
Telescope Simulator.DEVICE_BAUD_RATE.38400=Off
Telescope Simulator.DEVICE_BAUD_RATE.57600=Off
Telescope Simulator.DEVICE_BAUD_RATE.115200=Off
Telescope Simulator.DEVICE_BAUD_RATE.230400=Off
Telescope Simulator.DEVICE_AUTO_SEARCH.INDI_ENABLED=On
Telescope Simulator.DEVICE_AUTO_SEARCH.INDI_DISABLED=Off
Telescope Simulator.DEVICE_PORT_SCAN.Scan Ports=Off
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_GPS=GPS Simulator
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_DOME=Dome Simulator
Telescope Simulator.DOME_POLICY.DOME_IGNORED=On
Telescope Simulator.DOME_POLICY.DOME_LOCKS=Off
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_FOCAL_LENGTH=900
Telescope Simulator.TELESCOPE_INFO.GUIDER_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.GUIDER_FOCAL_LENGTH=900
Telescope Simulator.SCOPE_CONFIG_NAME.SCOPE_CONFIG_NAME=
Telescope Simulator.MOUNT_TYPE is write-only
Telescope Simulator.SIM_PIER_SIDE is write-only
Telescope Simulator.MOUNT_MODEL is write-only
Telescope Simulator.MOUNT_AXES.PRIMARY=0
Telescope Simulator.MOUNT_AXES.SECONDARY=0
Telescope Simulator.FLIP_HA is write-only
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_GPS=GPS Simulator
Telescope Simulator.ACTIVE_DEVICES.ACTIVE_DOME=Dome Simulator
Telescope Simulator.DOME_POLICY.DOME_IGNORED=On
Telescope Simulator.DOME_POLICY.DOME_LOCKS=Off
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.TELESCOPE_FOCAL_LENGTH=900
Telescope Simulator.TELESCOPE_INFO.GUIDER_APERTURE=120
Telescope Simulator.TELESCOPE_INFO.GUIDER_FOCAL_LENGTH=900
Telescope Simulator.SCOPE_CONFIG_NAME.SCOPE_CONFIG_NAME=
Telescope Simulator.MOUNT_TYPE is write-only
CCD Simulator.DRIVER_INFO.DRIVER_NAME=CCD Simulator
CCD Simulator.DRIVER_INFO.DRIVER_EXEC=indi_simulator_ccd
CCD Simulator.DRIVER_INFO.DRIVER_VERSION=1.0
CCD Simulator.DRIVER_INFO.DRIVER_INTERFACE=22
CCD Simulator.POLLING_PERIOD.PERIOD_MS=1000
CCD Simulator.DEBUG.ENABLE=Off
CCD Simulator.DEBUG.DISABLE=On
CCD Simulator.CONFIG_PROCESS.CONFIG_LOAD=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_SAVE=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_DEFAULT=Off
CCD Simulator.CONFIG_PROCESS.CONFIG_PURGE=Off
CCD Simulator.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
CCD Simulator.SIMULATOR_SETTINGS.SIM_XRES=1280
CCD Simulator.SIMULATOR_SETTINGS.SIM_YRES=1024
CCD Simulator.SIMULATOR_SETTINGS.SIM_XSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_YSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_MAXVAL=65000
CCD Simulator.SIMULATOR_SETTINGS.SIM_SATURATION=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_LIMITINGMAG=17
CCD Simulator.SIMULATOR_SETTINGS.SIM_NOISE=10
CCD Simulator.SIMULATOR_SETTINGS.SIM_SKYGLOW=19.5
CCD Simulator.SIMULATOR_SETTINGS.SIM_OAGOFFSET=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLAR=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLARDRIFT=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEPERIOD=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEMAX=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_TIME_FACTOR=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_ROTATION=0
CCD Simulator.EQUATORIAL_PE.RA_PE=0
CCD Simulator.EQUATORIAL_PE.DEC_PE=0
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_POSITION=36700
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_MAX=100000
CCD Simulator.SIM_FOCUSING.SIM_SEEING=3.5
CCD Simulator.SIMULATE_BAYER.INDI_ENABLED=Off
CCD Simulator.SIMULATE_BAYER.INDI_DISABLED=On
CCD Simulator.CCD_SIMULATE_CRASH is write-only
CCD Simulator.ACTIVE_DEVICES.ACTIVE_TELESCOPE=Telescope Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_ROTATOR=Rotator Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FOCUSER=Focuser Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_FILTER=CCD Simulator
CCD Simulator.ACTIVE_DEVICES.ACTIVE_SKYQUALITY=SQM
CCD Simulator.SIMULATOR_SETTINGS.SIM_XRES=1280
CCD Simulator.SIMULATOR_SETTINGS.SIM_YRES=1024
CCD Simulator.SIMULATOR_SETTINGS.SIM_XSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_YSIZE=5.2000000000000001776
CCD Simulator.SIMULATOR_SETTINGS.SIM_MAXVAL=65000
CCD Simulator.SIMULATOR_SETTINGS.SIM_SATURATION=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_LIMITINGMAG=17
CCD Simulator.SIMULATOR_SETTINGS.SIM_NOISE=10
CCD Simulator.SIMULATOR_SETTINGS.SIM_SKYGLOW=19.5
CCD Simulator.SIMULATOR_SETTINGS.SIM_OAGOFFSET=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLAR=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_POLARDRIFT=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEPERIOD=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_PEMAX=0
CCD Simulator.SIMULATOR_SETTINGS.SIM_TIME_FACTOR=1
CCD Simulator.SIMULATOR_SETTINGS.SIM_ROTATION=0
CCD Simulator.EQUATORIAL_PE.RA_PE=0
CCD Simulator.EQUATORIAL_PE.DEC_PE=0
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_POSITION=36700
CCD Simulator.SIM_FOCUSING.SIM_FOCUS_MAX=100000
CCD Simulator.SIM_FOCUSING.SIM_SEEING=3.5
CCD Simulator.SIMULATE_BAYER.INDI_ENABLED=Off
CCD Simulator.SIMULATE_BAYER.INDI_DISABLED=On
CCD Simulator.CCD_SIMULATE_CRASH is write-only
Telescope Simulator.SIM_PIER_SIDE is write-only
Telescope Simulator.MOUNT_MODEL is write-only
Telescope Simulator.MOUNT_AXES.PRIMARY=0
Telescope Simulator.MOUNT_AXES.SECONDARY=0
Telescope Simulator.FLIP_HA is write-only

libcamera: not detected

libcamera packages
ii  libcamera-apps                       1.2.1-1                          armhf        libcamera-apps
ii  libcamera-tools                      0~git20230302+923f5d70-1         armhf        complex camera support library (tools)
ii  libcamera0:armhf                     0~git20230720+bde9b04f-1         armhf        complex camera support library

libcamera cameras
libcamera-hello: /usr/bin/libcamera-hello
Available cameras
-----------------
0 : imx477 [4056x3040] (/base/soc/i2c0mux/i2c@1/imx477@1a)
    Modes: 'SRGGB10_CSI2P' : 1332x990 [120.05 fps - (696, 528)/2664x1980 crop]
           'SRGGB12_CSI2P' : 2028x1080 [50.03 fps - (0, 440)/4056x2160 crop]
                             2028x1520 [40.01 fps - (0, 0)/4056x3040 crop]
                             4056x3040 [10.00 fps - (0, 0)/4056x3040 crop]

python packages
ii  libpython3-dev:armhf                 3.9.2-3                          armhf        header files and a static library for Python (default)
ii  libpython3-stdlib:armhf              3.9.2-3                          armhf        interactive high-level object-oriented language (default python3 version)
ii  libpython3.9:armhf                   3.9.2-1+rpi1                     armhf        Shared Python runtime library (version 3.9)
ii  libpython3.9-dev:armhf               3.9.2-1+rpi1                     armhf        Header files and a static library for Python (v3.9)
ii  libpython3.9-minimal:armhf           3.9.2-1+rpi1                     armhf        Minimal subset of the Python language (version 3.9)
ii  libpython3.9-stdlib:armhf            3.9.2-1+rpi1                     armhf        Interactive high-level object-oriented language (standard library, version 3.9)
ii  python-apt-common                    2.2.1                            all          Python interface to libapt-pkg (locales)
ii  python-is-python3                    3.9.2-1                          all          symlinks /usr/bin/python to python3
ii  python-pip-whl                       20.3.4-4+rpt1+deb11u1            all          Python package installer (pip wheels)
ii  python3                              3.9.2-3                          armhf        interactive high-level object-oriented language (default python3 version)
ii  python3-appdirs                      1.4.4-1                          all          determining appropriate platform-specific directories (Python 3)
ii  python3-apt                          2.2.1                            armhf        Python 3 interface to libapt-pkg
ii  python3-astroid                      2.5.1-1                          all          rebuild a new abstract syntax tree from Python's AST (Python3)
ii  python3-asttokens                    2.0.4-1                          all          annotate Python asbtract syntax trees with code references (Python 3)
ii  python3-automationhat                0.2.0                            all          Python library for the Pimoroni Automation HAT
ii  python3-blinker                      1.4+dfsg1-0.3                    all          fast, simple object-to-object and broadcast signaling library
ii  python3-blinkt                       0.1.2                            all          Python library for the Pimoroni Blinkt!
ii  python3-bs4                          4.9.3-1                          all          error-tolerant HTML parser for Python 3
ii  python3-buttonshim                   0.0.2                            all          Python library for the Pimoroni Button SHIM
ii  python3-cairo:armhf                  1.16.2-4+b1                      armhf        Python3 bindings for the Cairo vector graphics library
ii  python3-cap1xxx                      0.1.3                            all          python library designed to drive various Microchip CAP1xxx touch ICs.
ii  python3-certifi                      2020.6.20-1                      all          root certificates for validating SSL certs and verifying TLS hosts (python3)
ii  python3-cffi-backend:armhf           1.14.5-1                         armhf        Foreign Function Interface for Python 3 calling C code - runtime
ii  python3-chardet                      4.0.0-1                          all          universal character encoding detector for Python3
ii  python3-click                        7.1.2-1                          all          Wrapper around optparse for command line utilities - Python 3.x
ii  python3-colorama                     0.4.4-1                          all          Cross-platform colored terminal text in Python - Python 3.x
ii  python3-colorzero                    1.1                              all          Construct, convert, and manipulate colors in a Pythonic manner.
ii  python3-cryptography                 3.3.2-1                          armhf        Python library exposing cryptographic recipes and primitives (Python 3)
ii  python3-cups:armhf                   2.0.1-4+b1                       armhf        Python3 bindings for CUPS
ii  python3-cupshelpers                  1.5.14-1                         all          Python utility modules around the CUPS printing system
ii  python3-dbus                         1.2.16-5                         armhf        simple interprocess messaging system (Python 3 interface)
ii  python3-debconf                      1.5.77                           all          interact with debconf from Python 3
ii  python3-dev                          3.9.2-3                          armhf        header files and a static library for Python (default)
ii  python3-distlib                      0.3.2+really+0.3.1-0.1           all          low-level components of python distutils2/packaging
ii  python3-distro                       1.5.0-1                          all          Linux OS platform information API
ii  python3-distutils                    3.9.2-1                          all          distutils package for Python 3.x
ii  python3-docutils                     0.16+dfsg-4                      all          text processing system for reStructuredText (implemented in Python 3)
ii  python3-drumhat                      0.1.0                            all          Python library for the Pimoroni Drum HAT.
ii  python3-envirophat                   1.0.0                            all          Python library for the Pimoroni Enviro pHAT.
ii  python3-explorerhat                  0.4.2                            all          python library designed to control the Explorer HAT and pHAT.
ii  python3-filelock                     3.0.12-2                         all          platform independent file locking module
ii  python3-flask                        1.1.2-2                          all          micro web framework based on Werkzeug and Jinja2 - Python 3.x
ii  python3-fourletterphat               0.1.0                            all          python library for the Pimoroni Four Letter pHAT
ii  python3-gi                           3.38.0-2                         armhf        Python 3 bindings for gobject-introspection libraries
ii  python3-gi-cairo                     3.38.0-2                         armhf        Python 3 Cairo bindings for the GObject library
ii  python3-gpiozero                     1.6.2-1                          all          Simple API for controlling devices attached to a Pi's GPIO pins.
ii  python3-html5lib                     1.1-3                            all          HTML parser/tokenizer based on the WHATWG HTML5 specification
ii  python3-idna                         2.10-1                           all          Python IDNA2008 (RFC 5891) handling (Python 3)
ii  python3-importlib-metadata           1.6.0-2                          all          library to access the metadata for a Python package - Python 3.x
ii  python3-isort                        5.6.4-1                          all          library for sorting Python imports (Python 3)
ii  python3-itsdangerous                 1.1.0-3                          all          Various helpers to pass trusted data to untrusted environment - Python 3.x
ii  python3-jedi                         0.18.0-1                         all          autocompletion tool for Python 3
ii  python3-jinja2                       2.11.3-1                         all          small but fast and easy to use stand-alone template engine
ii  python3-jwt                          1.7.1-2                          all          Python 3 implementation of JSON Web Token
ii  python3-lazy-object-proxy            1.5.2-1                          armhf        Python 3 fast and thorough lazy object proxy
ii  python3-ldb                          2:2.2.3-2~deb11u2                armhf        Python 3 bindings for LDB
ii  python3-lib2to3                      3.9.2-1                          all          Interactive high-level object-oriented language (lib2to3)
ii  python3-logilab-common               1.8.1-1                          all          useful miscellaneous modules used by Logilab projects (Python3)
ii  python3-lxml:armhf                   4.6.3+dfsg-0.1+deb11u1           armhf        pythonic binding for the libxml2 and libxslt libraries
ii  python3-markupsafe                   1.1.1-1+b1                       armhf        HTML/XHTML/XML string library for Python 3
ii  python3-mccabe                       0.6.1-3                          all          Python code complexity checker (Python 3)
ii  python3-microdotphat                 0.2.1                            all          Python library for the Pimoroni Micro Dot pHAT.
ii  python3-minimal                      3.9.2-3                          armhf        minimal subset of the Python language (default python3 version)
ii  python3-more-itertools               4.2.0-3                          all          library with routines for operating on iterables, beyond itertools (Python 3)
ii  python3-mote                         0.0.4                            all          python library designed to control Mote.
ii  python3-motephat                     0.0.3                            all          Python library for the Pimoroni Mote pHAT
ii  python3-mypy                         0.812-1                          armhf        public modules for mypy (Python 3)
ii  python3-mypy-extensions              0.4.3-2                          all          Experimental type system extensions for mypy typechecker (Python 3)
ii  python3-numpy                        1:1.19.5-1                       armhf        Fast array facility to the Python 3 language
ii  python3-oauthlib                     3.1.0-2                          all          generic, spec-compliant implementation of OAuth for Python3
ii  python3-olefile                      0.46-3                           all          Python module to read/write MS OLE2 files
ii  python3-openssl                      20.0.1-1                         all          Python 3 wrapper around the OpenSSL library
ii  python3-pantilthat                   0.0.7                            all          Python library for the Pimoroni Pan-Tilt HAT
ii  python3-parso                        0.8.1-1                          all          Python parser that supports error recovery - Python 3.X
ii  python3-pexpect                      4.8.0-2                          all          Python 3 module for automating interactive applications
ii  python3-pgzero                       1.2.post4+dfsg-2                 all          Zero-boilerplate games programming framework based on Pygame (Python 3)
ii  python3-phatbeat                     0.1.1                            all          Python library for the Pimoroni pHAT BEAT.
ii  python3-pianohat                     0.1.0                            all          Python library for the Pimoroni Piano HAT.
ii  python3-picamera                     1.13                             armhf        Pure Python interface to the Raspberry Pi's camera module.
ii  python3-piglow                       1.2.5                            all          Python library for the Pimoroni PiGlow.
ii  python3-pigpio                       1.79-1+rpt1                      all          Python module which talks to the pigpio daemon (Python 3)
ii  python3-pil:armhf                    8.1.2+dfsg-0.3+deb11u1           armhf        Python Imaging Library (Python3)
ii  python3-pip                          20.3.4-4+rpt1+deb11u1            all          Python package installer
ii  python3-pkg-resources                52.0.0-4                         all          Package Discovery and Resource Access using pkg_resources
ii  python3-psutil                       5.8.0-1                          armhf        module providing convenience functions for managing processes (Python3)
ii  python3-ptyprocess                   0.7.0-1                          all          Run a subprocess in a pseudo terminal from Python 3
ii  python3-pygame                       1.9.6+dfsg-4+b1                  armhf        SDL bindings for games development (Python 3)
ii  python3-pygments                     2.7.1+dfsg-2.1                   all          syntax highlighting package written in Python 3
ii  python3-pyinotify                    0.9.6-1.3                        all          simple Linux inotify Python bindings
ii  python3-rainbowhat                   0.1.0                            all          Python library for the Pimoroni Rainbow HAT
ii  python3-renderpm:armhf               3.5.59-2                         armhf        python low level render interface
ii  python3-reportlab                    3.5.59-2                         all          ReportLab library to create PDF documents using Python3
ii  python3-reportlab-accel:armhf        3.5.59-2                         armhf        C coded extension accelerator for the ReportLab Toolkit
ii  python3-requests                     2.25.1+dfsg-2                    all          elegant and simple HTTP library for Python3, built for human beings
ii  python3-requests-oauthlib            1.0.0-1.1                        all          module providing OAuthlib auth support for requests (Python 3)
ii  python3-responses                    0.12.1-1                         all          Utility library for mocking out the requests Python 3 library
ii  python3-roman                        2.0.0-5                          all          module for generating/analyzing Roman numerals for Python 3
ii  python3-rpi.gpio                     0.7.0-0.2+b1                     armhf        Module to control Raspberry Pi GPIO channels (Python 3)
ii  python3-rtimulib                     7.2.1-6                          armhf        Versatile C++ and Python 9-dof, 10-dof and 11-dof IMU library (Python 3)
ii  python3-scrollphat                   0.0.7                            all          python library designed to control Scroll pHAT.
ii  python3-scrollphathd                 1.2.1                            all          Python library for the Pimoroni Scroll pHAT HD.
ii  python3-send2trash                   1.6.0~b1+git20210122.2eb3242-1   all          Python module for sending file to trash natively
ii  python3-sense-hat                    2.4.0-1                          all          Sense HAT python library (Python 3)
ii  python3-serial                       3.5~b0-1                         all          pyserial - module encapsulating access for the serial port
ii  python3-setuptools                   52.0.0-4                         all          Python3 Distutils Enhancements
ii  python3-simplejson                   3.17.2-1                         armhf        simple, fast, extensible JSON encoder/decoder for Python 3.x
ii  python3-six                          1.16.0-2                         all          Python 2 and 3 compatibility library (Python 3 interface)
ii  python3-skywriter                    0.0.7                            all          python library designed to control Skywriter.
ii  python3-smbc                         1.0.23-1+b1                      armhf        Python 3 bindings for the Samba client library
ii  python3-smbus:armhf                  4.2-1+b1                         armhf        Python 3 bindings for Linux SMBus access through i2c-dev
ii  python3-sn3218                       1.2.7                            all          python library to help control the SN3218 18-channel PWM LED driver.
ii  python3-soupsieve                    2.2.1-1                          all          modern CSS selector implementation for BeautifulSoup (Python 3)
ii  python3-spidev                       20200602~200721-1                armhf        Bindings for Linux SPI access through spidev (Python 3)
ii  python3-talloc:armhf                 2.3.1-2+b1                       armhf        hierarchical pool based memory allocator - Python3 bindings
ii  python3-tk:armhf                     3.9.2-1                          armhf        Tkinter - Writing Tk applications with Python 3.x
ii  python3-toml                         0.10.1-1                         all          library for Tom's Obvious, Minimal Language - Python 3.x
ii  python3-touchphat                    0.0.1                            all          python library designed to control Touch pHAT
ii  python3-twython                      3.8.2+dfsg-2                     all          Pure Python3 wrapper for the Twitter API
ii  python3-typed-ast                    1.4.2-1                          armhf        AST with PEP 484 type comments support
ii  python3-typing-extensions            3.7.4.3-1                        all          Backported and Experimental Type Hints for Python
ii  python3-unicornhathd                 0.0.4                            all          Python library for the Pimoroni Unicorn HAT HD.
ii  python3-urllib3                      1.26.5-1~exp1                    all          HTTP library with thread-safe connection pooling for Python3
ii  python3-venv                         3.9.2-3                          armhf        venv module for python3 (default python3 version)
ii  python3-virtualenv                   20.4.0+ds-2+deb11u1              all          Python virtual environment creator
ii  python3-webencodings                 0.5.1-2                          all          Python implementation of the WHATWG Encoding standard
ii  python3-werkzeug                     1.0.1+dfsg1-2                    all          collection of utilities for WSGI applications (Python 3.x)
ii  python3-wheel                        0.34.2-1                         all          built-package format for Python
ii  python3-wrapt                        1.12.1-4+b1                      armhf        decorators, wrappers and monkey patching. - Python 3.x
ii  python3-zipp                         1.0.0-3                          all          pathlib-compatible Zipfile object wrapper - Python 3.x
ii  python3.9                            3.9.2-1+rpi1                     armhf        Interactive high-level object-oriented language (version 3.9)
ii  python3.9-dev                        3.9.2-1+rpi1                     armhf        Header files and a static library for Python (v3.9)
ii  python3.9-minimal                    3.9.2-1+rpi1                     armhf        Minimal subset of the Python language (version 3.9)
ii  python3.9-venv                       3.9.2-1+rpi1                     armhf        Interactive high-level object-oriented language (pyvenv binary, version 3.9)

Detected indi-allsky virtualenv
virtualenv python: Python 3.9.2
virtualenv PATH: /home/pi/indi-allsky/virtualenv/indi-allsky/bin:/usr/local/bin:/usr/bin:/bin
flask command: /home/pi/indi-allsky/virtualenv/indi-allsky/bin/flask

virtualenv python modules
Adafruit-Blinka==8.45.0
adafruit-circuitpython-ads1x15==2.2.25
adafruit-circuitpython-bh1750==1.1.10
adafruit-circuitpython-bme280==2.6.24
adafruit-circuitpython-bme680==3.7.6
adafruit-circuitpython-busdevice==5.2.9
adafruit-circuitpython-connectionmanager==3.1.0
adafruit-circuitpython-dht==4.0.4
adafruit-circuitpython-mlx90614==1.2.18
adafruit-circuitpython-register==1.9.18
adafruit-circuitpython-requests==4.0.0
adafruit-circuitpython-sht4x==1.0.19
adafruit-circuitpython-si7021==4.1.11
adafruit-circuitpython-tsl2561==3.3.18
adafruit-circuitpython-tsl2591==1.3.12
adafruit-circuitpython-typing==1.10.3
Adafruit-PlatformDetect==3.71.0
Adafruit-PureIO==1.1.11
alembic==1.13.1
apache-libcloud==3.8.0
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
asciitree==0.3.3
astroalign==2.5.1
astropy==6.0.1
astropy-iers-data==0.2024.6.17.0.31.35
astropy_healpix==1.0.3
astroscrappy==1.2.0
bcrypt==4.1.3
binho-host-adapter==0.1.6
blinker==1.8.2
boto3==1.34.131
botocore==1.34.131
Bottleneck==1.4.0
cachetools==5.3.3
ccdproc==2.4.2
certifi==2024.6.2
cffi==1.16.0
charset-normalizer==3.3.2
circuitpython-bmp180==0.2.0
click==8.1.7
cloudpickle==3.0.0
cryptography==40.0.1
Cython==3.0.10
dask==2024.6.2
dbus-python==1.3.2
ephem==4.1.5
fasteners==0.19
fish2pano==0.4.1
Flask==3.0.3
Flask-Login==0.6.3
Flask-Migrate==4.0.7
Flask-SQLAlchemy==3.1.1
Flask-WTF==1.2.1
fsspec==2024.6.0
google-api-core==2.19.0
google-api-python-client==2.134.0
google-auth==2.30.0
google-auth-httplib2==0.2.0
google-auth-oauthlib==1.2.0
google-cloud-core==2.4.1
google-cloud-storage==2.17.0
google-crc32c==1.5.0
google-resumable-media==2.7.1
googleapis-common-protos==1.63.1
gpiod==2.2.0
greenlet==3.0.3
gunicorn==22.0.0
httplib2==0.22.0
idna==3.7
imageio==2.34.1
imageio-ffmpeg==0.5.1
importlib_metadata==7.2.0
inotify==0.2.10
is-safe-url==1.0
itsdangerous==2.2.0
Jinja2==3.1.4
jmespath==1.0.1
jplephem==2.22
locket==1.0.0
lxml==5.2.2
Mako==1.3.5
MarkupSafe==2.1.5
mysql-connector-python==8.4.0
networkx==3.2.1
nose==1.3.7
numcodecs==0.12.1
numpy==2.0.0
oauthlib==3.2.2
opencv-python-headless==4.6.0.66
packaging==24.1
paho-mqtt==2.1.0
paramiko==3.4.0
partd==1.4.2
passlib==1.7.4
piexif==1.1.3
pillow==10.3.0
pkg_resources==0.0.0
prettytable==3.10.0
proto-plus==1.24.0
protobuf==4.25.3
psutil==6.0.0
pyasn1==0.6.0
pyasn1_modules==0.4.0
pycparser==2.22
pycurl==7.45.3
pyerfa==2.0.1.4
pyftdi==0.55.4
pygifsicle==1.0.7
pyindi-client @ git+https://github.com/indilib/pyindi-client.git@ffd939bebabdb5423cd1666f84288eafcb0996ff
PyMySQL==1.1.1
PyNaCl==1.5.0
pyparsing==3.1.2
pyserial==3.5
python-dateutil==2.9.0.post0
pytz==2024.1
pyusb==1.2.1
PyWavelets==1.6.0
PyYAML==6.0.1
rawpy @ git+https://github.com/letmaik/rawpy.git@a3c9c79eb5701a33d86b77b156e39ab34f00f4eb
reproject==0.13.0
requests==2.32.3
requests-oauthlib==2.0.0
requests-toolbelt==1.0.0
rpi-ws281x==5.0.0
RPi.GPIO==0.7.1
rsa==4.9
s3transfer==0.10.1
scikit-image==0.19.3
scipy==1.13.1
semantic-version==2.10.0
sep==1.2.1
setuptools-rust==1.9.0
sgp4==2.23
shapely==2.0.4
six==1.16.0
skyfield==1.49
SQLAlchemy==2.0.31
support-developer==1.0.5
sysv-ipc==1.1.0
tifffile==2024.6.18
tomli==2.0.1
toolz==0.12.1
typing_extensions==4.12.2
uritemplate==4.1.1
urllib3==1.26.19
wcwidth==0.2.13
Werkzeug==3.0.3
WTForms==3.1.2
zarr==2.18.2
zipp==3.19.2

indi-allsky config (passwords redacted)

A module that was compiled using NumPy 1.x cannot be run in NumPy 2.0.0 as it may crash. To support both 1.x and 2.x versions of NumPy, modules must be compiled with NumPy 2.0. Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to downgrade to 'numpy<2' or try to upgrade the affected module. We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last): File "/home/pi/indi-allsky/config.py", line 6, in from indi_allsky.config import IndiAllSkyConfigUtil File "/home/pi/indi-allsky/indi_allsky/config.py", line 17, in from .flask.models import IndiAllSkyDbConfigTable File "/home/pi/indi-allsky/indi_allsky/flask/init.py", line 17, in from .views import bp_allsky # noqa: E402 File "/home/pi/indi-allsky/indi_allsky/flask/views.py", line 22, in from ..processing import ImageProcessor File "/home/pi/indi-allsky/indi_allsky/processing.py", line 11, in import cv2 File "/home/pi/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/cv2/init.py", line 181, in bootstrap() File "/home/pi/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/cv2/init.py", line 153, in bootstrap native_module = importlib.import_module("cv2") File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) AttributeError: _ARRAY_API not found Traceback (most recent call last): File "/home/pi/indi-allsky/config.py", line 6, in from indi_allsky.config import IndiAllSkyConfigUtil File "/home/pi/indi-allsky/indi_allsky/config.py", line 17, in from .flask.models import IndiAllSkyDbConfigTable File "/home/pi/indi-allsky/indi_allsky/flask/init.py", line 17, in from .views import bp_allsky # noqa: E402 File "/home/pi/indi-allsky/indi_allsky/flask/views.py", line 22, in from ..processing import ImageProcessor File "/home/pi/indi-allsky/indi_allsky/processing.py", line 11, in import cv2 File "/home/pi/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/cv2/init.py", line 181, in bootstrap() File "/home/pi/indi-allsky/virtualenv/indi-allsky/lib/python3.9/site-packages/cv2/init.py", line 153, in bootstrap native_module = importlib.import_module("cv2") File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: numpy.core.multiarray failed to import


###############
###  ERROR  ###
###############

The script exited abnormally, please try to run again...
aaronwmorris commented 1 week ago

Its odd that numpy was upgraded to 2.0 when the requirement should not allow it. Try to manually downgrade it.

source virtualenv/indi-allsky/bin/activate

pip install --upgrade 'numpy >= 1.22.2, < 2.0'
Dentonknifeworks commented 1 week ago

Done and ran setup same error

Attempting uninstall: numpy Found existing installation: numpy 2.0.0 Uninstalling numpy-2.0.0: Successfully uninstalled numpy-2.0.0 ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. rawpy 0.22.0 requires numpy>=2.0, but you have numpy 1.26.4 which is incompatible. Successfully installed numpy-1.26.4 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting rawpy (from -r /home/pi/indi-allsky/requirements/requirements_latest_32_post.txt (line 1))

Dentonknifeworks commented 1 week ago

Seems odd that after doing the downgrade it still sees numpy 2.0.0

Ran python -c "import numpy as np; print(np.version)" Reports 1.26.4

aaronwmorris commented 1 week ago

Looks like rawpy might be a problem.

source virtualenv/indi-allsky/bin/activate

pip install --upgrade 'rawpy < 0.22'
Dentonknifeworks commented 1 week ago

Note Seeing this source virtualenv/indi-allsky/bin/activate bash: virtualenv/indi-allsky/bin/activate: No such file or directory

aaronwmorris commented 1 week ago

You just need to be in the indi-allsky folder.

Dentonknifeworks commented 1 week ago

$ pip install --upgrade 'rawpy < 0.22' Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple ERROR: Could not find a version that satisfies the requirement rawpy<0.22 ERROR: No matching distribution found for rawpy<0.22

aaronwmorris commented 1 week ago

This should fix it. This is a special case since you are on the 32-bit arm platform.

source virtualenv/indi-allsky/bin/activate

pip install --upgrade 'git+https://github.com/letmaik/rawpy.git@v0.21.0#egg=rawpy' 'numpy < 2.0'
Dentonknifeworks commented 1 week ago

Ok got errors with that also. pip install --upgrade 'git+https://github.com/letmaik/rawpy.git@v0.21.0#egg=rawpy' 'numpy < 2.0' Defaulting to user installation because normal site-packages is not writeable Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Collecting rawpy Cloning https://github.com/letmaik/rawpy.git (to revision v0.21.0) to /tmp/pip-install-kfk3irzc/rawpy_8cae8bdbe090450494356bad2375a8f3 Running command git clone --filter=blob:none --quiet https://github.com/letmaik/rawpy.git /tmp/pip-install-kfk3irzc/rawpy_8cae8bdbe090450494356bad2375a8f3 Running command git checkout -q d368d56f2eb9e7bd1f4c2f783bc4873d177e321b Resolved https://github.com/letmaik/rawpy.git to commit d368d56f2eb9e7bd1f4c2f783bc4873d177e321b Running command git submodule update --init --recursive -q Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-kfk3irzc/rawpy_8cae8bdbe090450494356bad2375a8f3/setup.py", line 12, in from Cython.Build import cythonize ModuleNotFoundError: No module named 'Cython' [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.

I can start out with a new SD card with 64bit Bookworm if needed

aaronwmorris commented 1 week ago

Bookwork might make some things easier, but it is totally not necessary here.

I don't think your virtualenv was active when you ran that. Make sure the virtualenv is sourced.

aaronwmorris commented 1 week ago

Merged #1354 with this in the requirements. If you upgrade, you should just be able to run setup.sh to fix this.

Dentonknifeworks commented 1 week ago

And after doing a pull and install it is back up and running THANKS! Now back to seeing why it is not doing the night timelapses. I also seen that libcam is reporting the IMX378 and a IMX477 seems odd....

Dentonknifeworks commented 1 week ago

Update fixed the issue and can be closed