pycryptodome icon indicating copy to clipboard operation
pycryptodome copied to clipboard

Installing pycryptodome(x) in Raspbian Stretch no longer works

Open diogomsantos opened this issue 7 years ago • 4 comments

Running Raspbian Stretch, which is Debian Stretch compiled for armhf, and this no longer works: pip install --user pycryptodomex

Returns this error:

  Could not find a version that satisfies the requirement pycryptodomex (from versions: )
No matching distribution found for pycryptodomex

This was working fine like 1 month ago at least. Installing pycryptodome returns the same error. Installing with pip3 works, but I need the python 2.7 version.

diogomsantos avatar Feb 19 '19 17:02 diogomsantos

Can you please provide more details with:

pip install --user -v pycryptodomex

I have tried that on Raspbian Stretch with Python 2.7 and it completes successfully.

Legrandin avatar Mar 17 '19 07:03 Legrandin

@diogomsantos Could you please confirm this is still a problem for you?

Legrandin avatar Mar 22 '19 11:03 Legrandin

Sorry for the late response, it still does not work for me. Here is the verbose output: http://paste.debian.net/1074268/ It works with the following command: pip install --user https://github.com/Legrandin/pycryptodome/archive/v3.7.3x.tar.gz

diogomsantos avatar Mar 22 '19 18:03 diogomsantos

Your pi can only connect to piwheels.org and not to pypi:

Could not fetch URL https://pypi.python.org/simple/pycryptodomex/: connection error: ("bad handshake: SysCallError(104, 'ECONNRESET')",) - skipping

However, piwheels.org only contains wheels for Python 3, so pip gives up for Python 2. If you could somehow determine why your pi can't reach pypi and fix it, you would have solved the problem (which seems a generic one, not specific to pycryptodome).

Legrandin avatar Mar 23 '19 07:03 Legrandin