Installing the python API on windows
Hi, To install the python sdk I downloaded https://github.com/Fluigent/fgt-SDK/releases/download/23.0.0/fgt-SDK-23.0.0.zip Then used python -m pip install fluigent_sdk-23.0.0.zip as per the SDK library
but when I try Python/examples/BasicSetPressure.py (little bit modified, just to test if I can change the pressure set values), I am getting the following error
c:\Users\mdsaifi\Documents\Gamepad_push_pull_interface>python basic_set_pressure_test.py
Traceback (most recent call last):
File "c:\Users\mdsaifi\Documents\Gamepad_push_pull_interface\basic_set_pressure_test.py", line 5, in
I think the sdk install didnt work.
Thanks
Hello,
This was reported before in #78. Your installation is correct, but the method we use to load the native library in the SDK is no longer available by default in Python 3.12. We have fixed that for the next release, but for now, the workaround is to either use an earlier version of Python, or install the setuptools package.
python -m pip install setuptools
Sorry for the inconvenience.
Best regards, Ygor
Thanks. That worked