admin管理员组文章数量:1294626
I'm trying to install numpy 2.0.2 on a Raspberry pi 4B running OSMC and Python 3.9.2.
pip tries to compile numpy locally, and fails. I can't get past this error, and I also failed upgrading Python (hoping a newer Python and numpy will circumvent the issue).
Any suggestions?
Error message:
Run-time dependency python found: NO (tried pkgconfig, pkgconfig and sysconfig)
../meson.build:41:12: ERROR: Python dependency not found
Full log in pastebin
The installation folder that's supposed to contain the meson build log (/tmp/pip-install-ph6xune8
) doesn't exist:
cd /tmp/pip-install-ph6xune8/ -bash:
cd: /tmp/pip-install-ph6xune8/: No such file or directory
Setup details:
HW:
Raspberry Pi 4 Model B Rev 1.4
OS:
PRETTY_NAME="Open Source Media Center"
NAME="OSMC"
VERSION="October 2024"
VERSION_ID="2024.10-1"
Python:
Python 3.9.2
pip 25.0.1
Running in a virtual environment
Things I tried:
Updating tools: pip, setuptools, wheel
Updating compilers and dependencies: cc, gcc, software-properties-common, build-essential, pkg-config
Upgrading python so I get a newer version of numpy (failed... apt doesn't accept deadsnakes repo due to security issues, building from source also failed)
本文标签: Numpy 202 installation fails on Raspberry pi 4B running OSMCPython 392Stack Overflow
版权声明:本文标题:Numpy 2.0.2 installation fails on Raspberry pi 4B running OSMC, Python 3.9.2 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741605437a2387949.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论