pybind11 pybind11/pybind11 .h 没有哪个文件或目录

pybind11 pybind11/pybind11 .h 没有哪个文件或目录

应用mlperf标准过程中用

pip3 install pybind11
conda install pybind11

都会出现如下问题:
image

这里使用如下安装

sudo apt-get install python3-dev  

sudo apt-get install cmake

sudo pip install  pytest

sudo pip install  numpy

sudo pip install  scipy

sudo pip install  pybind11

然后从github上clone下文件

git clone https://github.com/pybind/pybind11.git

cd pybind11
mkdir build
cd build
cmake ..
make check -j 4
sudo make install

https://github.com/charlotteLive/pybind11-Chinese-docs

https://zhuanlan.zhihu.com/p/192974017

https://zhuanlan.zhihu.com/p/49737946

posted @ 2023-04-04 20:35  michaelchengjl  阅读(2334)  评论(0编辑  收藏  举报