version = versions[-1] ~~~~~~~~^^^^ IndexError: list index out of range
When I download and install Seek thermal SDK, and run the code I get this error, I don't know how to fix it, hope you can fix it for me
It looks like you don't have SEEKTHERMAL_LIB_DIR in your environment as noted in the "Other dependencies" section of the README.
What should I do to fix that error? I downloaded Seek_Thermal_SDK_4.4.2.20 and set up the path C:\Program Files\Seek Thermal\Seek Thermal SDK\Seek_Thermal_SDK_4.4.2.20\x64-windows\lib . I wonder if there is any way to fix the error version = versions[-1] ~~~~~~~~^^^^ IndexError: list index out of range? please let me know
While it looks like the "else" case could use a little clean-up, you are only getting there because the SEEKTHERMAL_LIB_DIR variable is not in the environment. Please open a new "command prompt" and type "set". SEEKTHERMAL_LIB_DIR should be in the list.
When I follow your instructions I get the error RuntimeError: Failed to load seekcamera.dll from C:\Program Files\Seek Thermal\Seek Thermal SDK\Seek_Thermal_SDK_4.4.2.20\x64-windows\lib\seekcamera.dll \seekcamera.dll
Is the Seek Thermal 4.4.2.20 SDK installed in c:\Program Files\Seek Thermal\Seek _Thermal_SDK?
yes i have installed thermal camera sdk library
The env variable should not have seekcamera.dll in it. That automatically gets appended.
I don't get what you mean. Can you show how to fix this error?
Set the env variable through Windows System Properties->Environment Variables. Select SEEKTHERMAL_LIB_DIR (or create it if you don't have one) and set it to the directory of the dll. Do not include the dll in the name though. Hit "OK" for all of these and then open a new command prompt to pick up the new variable.
Thank you. I did it
Great