我正在尝试使用以下命令在Termux上安装firebase-admin:
pip install firebase-adminPython版本:
$ python -V
Python 3.9.1Pip版本:
$ 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,也面临着同样的问题。有什么解决办法吗?完整的StackTrace:
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.发布于 2021-03-01 07:14:38
我已经通过降级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在运行ubuntu20.04LTS的pico imx7d板上进行测试,安装了Python3.8.5和Pip20.0.2,分别来自/usr/lib/ Python 3/dist-packages/ pip (python 3.8)。
https://stackoverflow.com/questions/65301390
复制相似问题