This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pip on Windows doesn't honor Case
Type: behavior Stage: resolved
Components: Installation Versions: Python 3.5
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: SilentGhost, anders.rundgren.net@gmail.com, dstufft
Priority: normal Keywords:

Created on 2016-01-24 15:05 by anders.rundgren.net@gmail.com, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (4)
msg258887 - (view) Author: Anders Rundgren (anders.rundgren.net@gmail.com) Date: 2016-01-24 15:05
pip install Crypto

Terminates correctly and the package is there as well.
Unfortunately the directory is named "crypto" rather than "Crypto" so when I perform

>>>import Crypto

the interpreter fails.

>>>import crypto 

seems to work but is incompatible over platforms.

If this is a problem with pycrypto or pip is beyond my knowledge of python.
msg258890 - (view) Author: SilentGhost (SilentGhost) * (Python triager) Date: 2016-01-24 16:14
Assuming that you're talking about https://pypi.python.org/pypi/crypto/ - it is unfortunate that pip is so lax with capitalisation rules when installing a package, but as far as I can see there isn't a "Crypto" package anywhere and you're never encouraged to use such a capitalisation in their docs.

Feel free to submit an issue on pip tracker, but this doesn't at all seem suitable for this one.
msg258891 - (view) Author: Donald Stufft (dstufft) * (Python committer) Date: 2016-01-24 16:17
If you're trying to use PyCrypto then you need to install PyCrypto, crypto is a different package. Try ``pip install PyCrypto``.
msg258892 - (view) Author: Anders Rundgren (anders.rundgren.net@gmail.com) Date: 2016-01-24 16:47
You are right. Pardon me for erring :-(

Thanks for the quick response BTW!

Anders
History
Date User Action Args
2022-04-11 14:58:26adminsetgithub: 70379
2016-01-24 16:47:26anders.rundgren.net@gmail.comsetmessages: + msg258892
2016-01-24 16:17:47dstufftsetnosy: + dstufft
messages: + msg258891
2016-01-24 16:14:51SilentGhostsetstatus: open -> closed

type: compile error -> behavior

nosy: + SilentGhost
messages: + msg258890
resolution: not a bug
stage: resolved
2016-01-24 15:05:08anders.rundgren.net@gmail.comcreate