Hello.I'm trying to install and use the SDK with bindings for Python on Linux OS (Ubuntu 18.04).First I followed the Build Instructions for Linux (https://github.com/analogdevicesinc/aditof_sdk/blob/master/doc/linux/build_instructions.md), In section "Download and build SDK" after 'mkdir build' I used the cmake options suggested at the following link: https://github.com/analogdevicesinc/aditof_sdk/tree/master/cmake/ enabling WITH_PYTHON and WITH_OPENCV.Finally, as reported here: https://github.com/analogdevicesinc/aditof_sdk/tree/master/bindings/python I tried to import the aditofpython module with the following result: File "<stdin>", line 1, in <module>ModuleNotFoundError: No module named 'aditofpython'Any advice to solve the problem?
Did you run 'make install' after 'make'?
Running just 'make' will build things locally. And a python script won't know where to find the aditof library. You can either copy the libaditof…
Running just 'make' will build things locally. And a python script won't know where to find the aditof library. You can either copy the libaditof.so and aditofpython.cpython-36m-x86_64-linux-gnu.so next to the python script or 'make install' (as suggested above) to install these .so libraries into a default location where python knows to find them.
Also, make sure to run with python3.
Thanks so much,
i solved by copying the files as you suggested