请帮我找出为什么我无法在运行Ubuntu 14.04的系统中安装bcrypt。
错误:
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 certificate, 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 distribution 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
我认为错误不是因为警告,因为这不是该行“Could not find a version that satisfies the requirement bcyrpt (from versions: )”所说的。请告诉我问题出在哪里,为什么会出现这个问题?如何解决这个问题?
我已经尝试过以下方法:
1. pip install --pre bcrypt 2. pip install bcrypt==2.0.0
注意:我已按照 github 存储库中所需并提及的所有依赖项安装,并且我的实例在运行 ubuntu 14.04 的 AWS t2.micro 实例上,具有 1 GB Ram。这只是额外的信息。
sudo pip install -U cryptography pyopenssl ndg-httpsclient pyasn1 urllib3[secure]
- user2683246