groupgets / LeptonModule

Code for getting started with the FLIR Lepton breakout board
https://groupgets.com/manufacturers/flir/products/flir-lepton
BSD 2-Clause "Simplified" License
317 stars 197 forks source link

Problem running raspberrypi_capture using matlab support package #77

Open jcc07 opened 3 years ago

jcc07 commented 3 years ago

When try to run the raspberrypi program with the command below:

system(mypi,'python2 /home/pi/Downloads/LeptonModule-master/software/raspberrypi_capture/raspberrypi_capture','sudo')

I get the following error:

Error executing command "sudo python2 /home/pi/Downloads/LeptonModule-master/software/raspberrypi_capture/raspberrypi_capture". Details:

STDERR: File "/home/pi/Downloads/LeptonModule-master/software/raspberrypi_capture/raspberrypi_capture", line 1 SyntaxError: Non-ASCII character '\x8b' in file /home/pi/Downloads/LeptonModule-master/software/raspberrypi_capture/raspberrypi_capture on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details

STDOUT:

Is there a solution?