无法将Scipy安装到Raspberry Pi 4(Raspbian)

没有名字42

我正在尝试使用安装scipy库,python3 -m pip install --user --no-use-pep517 scipy但收到以下错误:

ERROR: Failed building wheel for scipy
  Running setup.py clean for scipy
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-spokr6ic/scipy/setup.py'"'"'; __file__='"'"'/tmp/pip-install-spokr6ic/scipy/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
       cwd: /tmp/pip-install-spokr6ic/scipy

我正在使用该代码进行安装,因为pip3 install scipy这给了我这个错误:

  ERROR: Failed building wheel for scipy
Failed to build scipy
ERROR: Could not build wheels for scipy which use PEP 517 and cannot be installed directly

我该如何解决这个问题?

Python == 3.7.3

PS:完整的回溯是414行。我不知道我是否应该包括在这里。

穆罕默德

尝试这个:

sudo apt update
sudo apt install -y python3-scipy

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

是否可以将SpaCy安装到Raspberry Pi 4 Raspbian Buster

使用make install在Raspbian Raspberry Pi 3+中安装OpenCV 4时编译错误

在Raspberry Pi Raspbian上安装opencv

我如何才能使OpenCV在Raspberry Pi 4(Raspbian Buster)上完全发挥作用?

在Pyglet(Raspberry Pi 4B,Raspbian)中播放音频时听不到声音

如何用QEMU模拟Raspberry Pi Raspbian?

无法在 Raspberry Pi 4 上安装任何应用程序

在Pi 3 B的Raspbian上安装Teamviewer

在Raspberry Pi 4上安装Steam

在 Raspberry Pi 4 上安装 Java 16

重启后Raspberry Pi 4无法启动

定期运行shell脚本o运行raspbian的raspberry pi 3

Kiosk 模式下的虚拟键盘 Raspberry Pi Raspbian

Raspberry Pi 4上的HugePages

有时在Raspbian Buster,Raspberry Pi 4中重新启动时有时未加载蓝牙模块

Raspberry Pi / Raspbian:尝试安装路由器硬盘驱动器

ceph-mon无法在rasberry pi(Raspbian 8.0)上启动

Raspberry Pi 4 上的 Ubuntu 20.04 无法安装 MicroK8s

无法在 Raspberry PI 4 (adafruit_circuitpython_neopixel) 上安装 Pip 包

启动后在Raspberry Pi(Raspbian)上自动运行jar,rc.local无法正常工作吗?

带有Lavaplayer的JDA Discord Bot在Raspberry Pi 3B +(Raspbian)上无法正常工作

带有Lavaplayer的JDA Discord Bot在Raspberry Pi 3B +(Raspbian)上无法正常工作

无法在Raspbian-Raspberry Pi 3上更新nodejs和npm

在使用 Ubuntu 20.10 的 Raspberry Pi 4 上安装 R 4.0.3

无法使用visual studio 2019 ssh debug with raspberry pi 4

Raspberry PI,Java和Pi4J控制GPIO无法获取当前的PinState

Raspberry Pi无法安装mysql或Nginx

Raspberry Pi安装SailsJS

为 Raspberry Pi 4 交叉编译 QtWebEngine