Erreur d’installation de Python Bcrypt à l’aide de pip install bcrypt dans Ubuntu 14.04

S’il vous plaît aidez-moi à comprendre notre pourquoi je ne peux pas installer bcrypt dans mon système exécutant Ubuntu 14.04

Erreur :

somehostname@somehost:~$ pip install bcyrpt Collecting bcyrpt /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:315: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificatee, which can cause validation failures. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Could not find a version that satisfies the requirement bcyrpt (from versions: ) No matching dissortingbution found for bcyrpt /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:120: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning 

Je pense que l’erreur n’est pas à cause des avertissements, car ce n’est pas ce que la ligne n’a pas pu trouver une version qui répond à l’exigence bcyrpt (des versions:) dit.

S’il vous plaît dites-moi quel est le problème et pourquoi ce problème se produit? Et comment résoudre ce problème?

Les choses que j’ai déjà essayées:

  1. pip install --pre bcrypt
  2. pip install bcrypt==2.0.0

NOTE: J’ai déjà installé toutes les dépendances requirejses et mentionnées dans le repository github comme libffi-dev, libssl-dev, etc. Juste pour plus d’informations.

C’est en fait une erreur assez simple. Selon le journal de la console que vous avez posté, vous avez mal orthographié bcrypt . Vous devez probablement l’exécuter également en tant que sudo.

 sudo pip install bcrypt