我在Pycharm上运行代码,报了下面这个错误。我是在WINDOWS上跑的代码。
D:\craves_control-master\craves_control>python demo_control.py --kp --pose 0 0 0 0
D:\craves_control-master\craves_control\utils\trans.py:1926: UserWarning: No module named 'craves_control.utils._transformations'
warnings.warn(str(err))
usb cam started!
Traceback (most recent call last):
File "demo_control.py", line 34, in
arm_ctl = usb_arm.Arm() # inti arm controller
File "D:\craves_control-master\craves_control\hardware\usb_arm.py", line 68, in init
self.dev.set_configuration()
File "F:\anaconda\envs\pytorch_zyx\lib\site-packages\usb\core.py", line 869, in set_configuration
self._ctx.managed_set_configuration(self, configuration)
File "F:\anaconda\envs\pytorch_zyx\lib\site-packages\usb\core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "F:\anaconda\envs\pytorch_zyx\lib\site-packages\usb\core.py", line 147, in managed_set_configuration
self.managed_open()
File "F:\anaconda\envs\pytorch_zyx\lib\site-packages\usb\core.py", line 102, in wrapper
return f(self, *args, **kwargs)
File "F:\anaconda\envs\pytorch_zyx\lib\site-packages\usb\core.py", line 120, in managed_open
self.handle = self.backend.open_device(self.dev)
File "F:\anaconda\envs\pytorch_zyx\lib\site-packages\usb\backend\libusb1.py", line 786, in open_device
return _DeviceHandle(dev)
File "F:\anaconda\envs\pytorch_zyx\lib\site-packages\usb\backend\libusb1.py", line 643, in init
_check(_lib.libusb_open(self.devid, byref(self.handle)))
File "F:\anaconda\envs\pytorch_zyx\lib\site-packages\usb\backend\libusb1.py", line 593, in _check
raise NotImplementedError(_strerror(ret))
NotImplementedError: Operation not supported or unimplemented on this platform
我想知道怎么解决这个问题,是我的某些包版本不行还是不能在windows上跑这段代码。想请教出现过类似问题的人详细回答一下。