analogdevicesinc / aditof_sdk

Analog Devices 3D ToF software suite
https://analogdevicesinc.github.io/aditof_sdk/
BSD 3-Clause "New" or "Revised" License
72 stars 49 forks source link

Python version > 3.8 requires import changes on Windows #811

Open rbudai98 opened 1 year ago

rbudai98 commented 1 year ago

Python has changed Windows import structure. For Python version over 3.8 the following import is compulsory:

import ctypes

lib = ctypes.CDLL("<PATH_TO_ADITOF_DLL>", winmode=1)

import aditofpython as tof
import numpy as np