记录16model的安装

问题一:

找不到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)

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容