当前位置: 首页 > 工具软件 > WARP-CTC > 使用案例 >

CTC+pytorch编译配置warp-CTC遇见ModuleNotFoundError: No module named 'warpctc_pytorch._warp_ctc'错误...

莫泓
2023-12-01

---恢复内容开始---

For followers, if you get this on mac (and installed anaconda via brew cask)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/my/dirwarp-ctc/pytorch_binding/warpctc_pytorch/__init__.py", line 8, in <module>
    from ._warp_ctc import lib as _lib, ffi as _ffi
ModuleNotFoundError: No module named 'warpctc_pytorch._warp_ctc'

meant cd ../build && cp libwarpctc.dylib /usr/local/anaconda3/lib

---恢复内容结束---

转载于:https://www.cnblogs.com/pogeba/p/10279511.html

 类似资料: