-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation documentation for Windows Precompiled is wrong and confusing #16
Comments
I can not confirm this, on my Windows-machine following the installation steps correctly install pycryptodome under the "Cryptodome" namespace (using Python 3.5) as wheel (installation log). After you installation failed you installed the "Crypto" namespace package (PyPi name: pycryptodome), but for the "Cryptodome" namespace packages the name is pycryptodomex. Here is the PyPi page for the Cryptodome namespace packages. The documentation say this in the first paragraph:
|
After a bit more investigation, it seems that it does not work with Python 3.4 (or rather, the pip version that comes with it), but it works if I update pip to the latest version. Here are the relevant parts of the install log when trying to install it on a Python 3.4 installation on Windows (8.1), and as you can see, it does not download the wheel file, but rather the source package and tries to build it, just like I described in my original post:
Is this expected? |
It tested this now out on Python 3.4 on Windows XP machine and got the same error but after upgrading pip ( |
I had some trouble with PyCryptoDome / Cryptodome / pycryptodomex (too many names .. very confusing when you discover it because it's a dependency) too, I used the following command to install it :
and it went ok (
Not very informative :( |
@CodyMcCodeface this is an issue with pip not |
Authored-by: shirtjs <2660574+shirtjs@users.noreply.github.com>
The installation information page of PyCryptodome says the following under the "Windows (pre-compiled)" section:
There are several problems with this though:
This in turn makes it install under the default "Crypto" package instead of the "Cryptodome" package explicitly mentioned in the instructions (and therefore colliding in a breaking fashion with any pre-existing installations of the PyCrypto package).
For more details, please see the following StackOverflow question:
http://stackoverflow.com/questions/37504622/how-to-install-a-python-wheel-under-an-alternative-package-name-in-my-specific
Therefore, I suggest that:
The text was updated successfully, but these errors were encountered: