pyocd库找不到libusb python库 [英] pyocd library cannot find libusb python library
本文介绍了pyocd库找不到libusb python库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在Windows 10上使用powershell core和python 3.8成功安装了pyocd和libusb,但是当我使用 python -m pyocd list
命令时,它会引发以下错误:
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
这是已安装的python库的列表:
this is the list of installed python libraries:
推荐答案
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.
这篇关于pyocd库找不到libusb python库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文