繁体   English   中英

当前不支持 BoringSSL 的 ASM 构建:linux-aarch64

[英]ASM Builds for BoringSSL currently not supported on: linux-aarch64

我正在尝试使用以下命令在 Termux 上安装 firebase-admin:

pip install firebase-admin

Python 版本:

$ python -V
Python 3.9.1

Pip版本:

$ pip -V
pip 20.3.1 from /data/data/com.termux/files/usr/lib/python3.9/site-packages/pip (python 3.9)

安装失败并出现此错误:

ASM Builds for BoringSSL currently not supported on: linux-aarch64

此外,尝试使用Python 2.7仍然面临相同的问题。 任何解决方法?

完整的堆栈跟踪:

ERROR: Command errored out with exit status 1: /data/data/com.termux/files/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/data/data/com.termux/files/usr/tmp/pip-install-btbtn_ga/grpcio_154dc9427ab04d429a4c3b2c56c107fa/setup.py'"'"'; __file__='"'"'/data/data/com.termux/files/usr/tmp/pip-install-btbtn_ga/grpcio_154dc9427ab04d429a4c3b2c56c107fa/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /data/data/com.termux/files/usr/tmp/pip-record-1tz_62k3/install-record.txt --single-version-externally-managed --compile --install-headers /data/data/com.termux/files/usr/include/python3.9/grpcio Check the logs for full command output.

我已经通过降级 setuptools 并安装旧版本的 grpcio 成功安装了 firebase-admin。

$ sudo pip3 uninstall setuptools
$ sudo pip3 install setuptools==49.6.0
$ sudo pip3 install grpcio==1.31.0
$ sudo pip3 firebase-admin

tested on pico-pi-imx7d board running ubuntu 20.04 LTS, with Python 3.8.5 and pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8) installed.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM