FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
06-10-2024 04:09 PM
I wanted to play around with the pyusb library, but I have the impression that the library is not fully recognized.
I created a node and wanted the node to display a list of the current USB devices.
However, the problem seems to be in the backend
I've already searched the forum and tried a few things, but I still can't get the problem resolved.
Was looking were the library is
However he cant find it while snapping
Here you can see that the problem is the backend
Here is my code
Snapcraft(maybe here is my fault)
Best regards
Solved! Go to Solution.
06-10-2024 09:41 PM
Which ctrlX CORE model are you using? I see that you have built an ARM64 snap (typ. for ctrlX CORE X3), but you have hardcoded a path with the x86_64 triplet (typ. for ctrlX CORE X7):
Maybe this mismatch is your problem.
To avoid hard-coding the target triplet, one nice option is to use sysconfig.get_config_var as shown below.
06-11-2024 09:39 AM
Thank you it worked
Im working with ctrlX CORE X3, so probably this caused the missmatch