无法使用apt,pip,pip3,easy_install等任何命令安装pyzmq [英] Could not install pyzmq using apt,pip,pip3,easy_install etc any command
问题描述
我尝试了所有操作,但未安装pyzmq
软件包.
I tried everything but pyzmq
package is not installing.
尝试拨轮时停止.我什至重新安装了车轮,但没有结果.
It stops while trying wheel. I even reinstalled wheel but no result.
我已经安装了所有基本的prereq东西.我什至安装了clang和go-lang,但没有任何效果,甚至在安装Jupiter笔记本时也显示了相同的错误.
I have already installed all basic prereq stuff. I even installed clang and go-lang but nothing works it even shows same error while installing Jupiter notebook too.
推荐答案
您需要在Termux中安装libcrypt软件包的开发版本:
You need to install the dev version of the libcrypt package in Termux:
apt install libcrypt-dev
此版本的程序包包含必需的crypt.h
头文件.
This version of the package includes the required crypt.h
header file.
我挖了一个旧的闹钟/Android平板电脑,以便对其进行测试.我按照在此博客文章中找到的说明进行安装Jupyter.一堆系统更新后,出现了麻烦:
I dug out an old alarm clock/Android tablet I had lying around in order to test this out. I followed the instructions I found in this blog post to install Jupyter. After a bunch of system updates, a bricking:
毫不夸张地讲,我最终遇到了与您相同的错误,并通过安装libcrypt-dev
软件包解决了该错误.在平板电脑上的Termux中,所有Python软件包的构建速度都很慢,但是我确实让Jupyter笔记本能够工作:
and an unbricking, I ended up getting the same error that you did, and I solved it by installing the libcrypt-dev
package. All of the Python packages were very slow to build in Termux on the tablet, but I did get Jupyter notebook to work:
因此,确实确实可以安装libcrypt-dev
来解决问题.
So it does indeed appear that installing libcrypt-dev
fixes the problem.
这篇关于无法使用apt,pip,pip3,easy_install等任何命令安装pyzmq的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!