Could not install pyzmq using apt,pip,pip3,easy_install etc any command

久未见 提交于 2019-12-07 12:11:57

问题


I tried everything but pyzmq package is not installing.

It stops while trying wheel. I even reinstalled wheel but no result.

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.


回答1:


You need to install the dev version of the libcrypt package in Termux:

apt install libcrypt-dev

This version of the package includes the required crypt.h header file.

Trying it out

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:

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:

So it does indeed appear that installing libcrypt-dev fixes the problem.



来源:https://stackoverflow.com/questions/49805480/could-not-install-pyzmq-using-apt-pip-pip3-easy-install-etc-any-command

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!