pyocd library cannot find libusb python library

偶尔善良 提交于 2021-01-29 06:21:54

问题


I've successfully installed pyocd and libusb using powershell core and python 3.8 on windows 10, but when I use python -m pyocd list command, it throws this error:

PS C:\Users\mahya> python -m pyocd list
0003915:WARNING:common:STLink and CMSIS-DAPv2 probes are not supported because no libusb library was found.
No available debug probes are connected

this is the list of installed python libraries:


回答1:


You should copy the libusb.dll (libusb dynamic link library) to the path of python instalation. Note: if you've downloaded python from windows store, you should copy libusb.dll in C:/windows/system32 directory.



来源:https://stackoverflow.com/questions/63704476/pyocd-library-cannot-find-libusb-python-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!