我正在尝试通过 docker 在新的 Raspberry pi 4 b 中部署一个小型微服务。该服务目前在我的 Windows 电脑上运行得很好,我什至可以在本地运行该服务到 pi 中。到目前为止,我已经能够在创建 docker 映像时追踪到 numpy 安装的错误。
Collecting numpy==1.19.1
Downloading numpy-1.19.1.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing wheel metadata: started
Preparing wheel metadata: still running...
Preparing wheel metadata: finished with status 'error'
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python /usr/local/lib/python3.7/site-packages/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/tmpts0hfzam
cwd: /tmp/pip-install-ozdo_kbb/numpy
Complete …Run Code Online (Sandbox Code Playgroud)