markmac99 / pi-meteortools

A collection of scripts and code to analyse meteor and aurora data
https://markmcintyreastro.co.uk
GNU General Public License v3.0
6 stars 0 forks source link

ModuleNotFoundError at first run #58

Open prutsky opened 3 days ago

prutsky commented 3 days ago

I installed the pi-meteortools repository in a RaspberryPi so I can use a IMX291 (https://nl.aliexpress.com/item/1005002315913099.html) camera as aurora camera. (Is the default IP-address 192.168.1.10 correct??)

I had to tweak some of the install commands to get through the installation (like installing virtualenv). Everything seemed to go write until I ran startAuroraCam.sh.

I got the following error:

(vAuroracam) pi@AuroraCam:~/pi-meteortools-master/auroracam $ ./startAuroraCam.sh 
<13>Sep 16 10:17:34 AuroraCam: starting auroracam
Traceback (most recent call last):
  File "/home/pi/pi-meteortools-master/auroracam/auroraCam.py", line 19, in <module>
    import paramiko
ModuleNotFoundError: No module named 'paramiko'

I did install paramiko (sudo apt install python3-paramiko) after this first time error, but the error persists...

What am I still missing?

prutsky commented 3 days ago

okay... so I fixed the paramiko issue bij installing paramiko "within" (vAuroracam) with pip install paramiko.

Now the main problem is finding the correct ip-address from the camera, and/or setting up the wired connection correctly.

I have no clue how to get this working on the Pi, and lag a windows machine to configure the camera with the CMS tooling.

(vAuroracam) pi@AuroraCam:~/pi-meteortools-master/auroracam $ ./startAuroraCam.sh 
<13>Sep 16 14:18:02 AuroraCam: starting auroracam
about to initialise logger
2024/09/16 14:18:04-INFO-auroraCam-line:301 - logging initialised
2024/09/16 14:18:04-INFO-auroraCam-line:363 - not uploading files
2024/09/16 14:18:04-INFO-auroraCam-line:194 - night starts at 2024-09-16 17:24:27 and ends at 2024-09-17 05:38:48
connecting to 192.168.1.10
Failure. Could not connect. retrying in 30 seconds
unable to connect to camera, aborting

The green LED is blinking on the POE adapter so the Pi and camera are communicating but where and how....