Closed mctosima closed 2 years ago
Are you installing from git or from pypi? I think this issue was already corrected (it was due to a double decode), but it may not have reached pip yet. Try with an older version of Python e.g. 3.5 - this became an error with newer versions.
I'm getting a similar error, with Windows 10 and a Boson camera:
from flirpy.camera.boson import Boson
camera = Boson()
images = camera.grab()
Traceback (most recent call last):
File "", line 1, in
I installed flirpy through Pycharm. Is there a more up-to-date repository? Above, Git and PyPi were mentioned, but I didn't see which one had the freshest code. If there's not an easy fix, will try downgrading from 3.7 to 3.5.
Advice appreciated.
@planter01 try installing from git directly. This repository will always have the freshest code. This logging issues is fixed in the main branch.
That worked. Thanks very much!
On Mon, Jun 28, 2021 at 1:41 PM Josh Veitch-Michaelis < @.***> wrote:
@planter01 https://github.com/planter01 try installing from git directly. This repository will always have the freshest code. This logging issues is fixed in the main branch.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LJMUAstroecology/flirpy/issues/50#issuecomment-870026156, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGSLIC6XJQJMTS3RC7NDETTVDM7DANCNFSM45F3KK3Q .
Hi, I just running the example code using MacOS 11.3.1, opencv-python 4.5.2.52 (also the headless), python 3.9.5 with PureThermal 2 and Lepton 2.5
The error showed
AttributeError: 'str' object has no attribute 'decode'
Do I miss something ? I already installed all the package required. I also try to run this code but the result is same
Thank's for helping and sharing