在Termux安装pyzmq或者jupyter时,
两者都会在zmq模块报错,并且报错信息大致如下:
'crypy.h' file cunld not found.
unable to execute 'aarch64-linux-android-clang': No such file or directory error: command 'aarch64-linux-android-clang' failed with exit status 1
大致可以理解为找不到crypt.h等必备文件,执行以下命令添加就好了。
解决方法:
apt install libcrypt-dev
解决思路来自于Stack Overflow论坛,有其他问题可以继续参考:
https://stackoverflow.com/questions/49805480/could-not-install-pyzmq-using-apt-pip-pip3-easy-install-etc-any-command?newreg=d0496c941c3c4db0a61ac1e877c2e41c
本文转自:https://blog.csdn.net/qq_36791314/article/details/80603837