如何安装 python-pybind11? [英] How to apt install python-pybind11?

查看:71
本文介绍了如何安装 python-pybind11?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从我的项目文档中看到我需要使用

I see form my project document that I need to install python-pybind11 by using

sudo apt -y install python-pybind11

但是我得到了这样的错误:

but I got error like this:

正在阅读包裹清单...完成

Reading package lists... Done

构建依赖树
读取状态信息...完成

Building dependency tree
Reading state information... Done

E: 无法定位包 python-pybind11

E: Unable to locate package python-pybind11

我不确定 python-pybind11 是否是一个有效的包,我可以在哪里查看?

I'm not sure if python-pybind11 is a valid package, where can I check it?

推荐答案

使用这个来安装pybind11:

pip install pybind11

参考此处.

这篇关于如何安装 python-pybind11?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆