问题一:
找不到pybind11/pybind11.h文件
solved by pip install pybind11
pybind11 file is a header file linking between c++ and python
问题二:
ymw16.so cant link to the file of main.cpp
solved by change the link_args from -lm to -lstdc++ in setup.py.
reference:
(https://blog.csdn.net/weizehua/article/details/88305752)
网友评论