从我的项目文档中可以看到,我需要使用
sudo apt -y install python-pybind11但我犯了这样的错误:
正在读取包列表...完成 构建依赖树 正在读取状态信息...完成 E:找不到python-pybind11 11包
我不确定python-pybind11是否是一个有效的包,我可以在哪里检查它?
发布于 2019-02-15 07:41:00
发布于 2019-06-11 23:03:28
在Ubuntu 18.04
apt-get install python-pybind11在麦克身上,
brew install pybind11在Ubuntu16.04中,您需要自己安装。一种方法是:
# Some prerequisites (but not all of them)
apt-get install cmake
pip3 install pytest
# Clone, build and install
git clone https://github.com/pybind/pybind11.git
cd pybind11
mkdir build
cd build
cmake ..
make install发布于 2022-07-22 15:01:13
在某些系统中,您可能需要
sudo apt -y install python3-pybind11https://stackoverflow.com/questions/54704599
复制相似问题