我在我的笔记本上加入了我的覆盆子Pi 3b+。我试图在Python3.8上安装SciPy,但是apt-get不起作用,并且通过pip安装会冻结我的Raspberry Pi。我甚至尝试过增加互换规模,但还是冻结了。因此,我试图从源代码构建SciPy 1.6,但是当我运行sudo python3 setup.py build和sudo python3 setup.py install时,它返回Error: 'pybind11' must be installed before running the build.
我已经使用pybind11和python3 -m pip install pybind安装了python3 -m pip install "pybind11[global]"。我甚至可以在python中导入pybind11。这是我的包裹清单:
Package Version
--------------- -------
cycler 0.10.0
Cython 0.29.21
future 0.18.2
kiwisolver 1.3.1
matplotlib 3.3.4
numpy 1.20.1
Pillow 8.1.0
pip 21.0.1
pybind11 2.6.2
pybind11-global 2.6.2
pyparsing 2.4.7
pyserial 3.5
python-dateutil 2.8.1
scikit-rf 0.16.0
setuptools 53.0.0
six 1.15.0
smbus2 0.4.1发布于 2022-01-22 21:59:18
使用"pip install pybind11“
https://stackoverflow.com/questions/66147661
复制相似问题