LJMUAstroecology / flirpy

Python library to interact with FLIR camera cores
Other
197 stars 53 forks source link

Attempting to access Tau2 on Linux, Illegal Instruction(core dumped) #72

Closed mascenzi80 closed 2 years ago

mascenzi80 commented 2 years ago

I'm running a TX2 and I'm unable to access the Tau2. I see that the Tau2 is connected to the hardware when I run lsusb

"Bus 001 Device 005: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light"

dmesg recognizes it

"[ 2695.742866] usb 1-2: cp210x converter now attached to ttyUSB0"

Where its all failing is when i attempt to import flirpy.

import flirpy

appears to import fine, but I can't access anything.

All the examples of flirpy has it look like this

from flirpy.camera.tau import Tau

This line alone generates the "Illegal Instruction (core dumped) error.

Is there any thoughts as to what might be happening?

I've uninstalled and reinstalled flirpy multiple times.

pip3 install flirpy python3 -m pip install flirpy

same results, even when the installation shows it has successfully installed flirpy

Installing collected packages: flirpy
Successfully installed flirpy-0.3.0

Importing of Boson and Lepton also fails.

mascenzi80 commented 2 years ago

I figured it out after doing some searches. it was a numpy compatibility issue. I needed to revert to an earlier version.