pip install yara-python后遇到了奇奇怪怪的错误
FileNotFoundError: Could not find module ‘C:\Users\solitaryang.TENCENT\AppData\Local\Programs\Python\Python310\DLLs\libyara.dll’ (or one of its dependencies). Try using the full path with constructor syntax.
看起来是少libyara.dll,查了半天网上也没有对应解法。。。甚至想自己编译了
后来找了下文件,他竟然给我放在这个目录下了
C:\Users\xxxxx\AppData\Local\Programs\Python\Python310\Lib\site-packages\Users\xxxxx\AppData\Local\Programs\Python\Python310\DLLs
在我的Users里创建了个Users?什么迷幻操作
把这里的libyara.dll复制到正确目录就可以了
无语的bug。。。
python使用yara-python踩坑记录
最新推荐文章于 2024-06-02 14:46:35 发布