Page tree
Skip to end of metadata
Go to start of metadata

Python 安装第三方模块,或者请求 HTTPS 链接时提示:

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
pip install pyopenssl ndg-httpsclient pyasn1

如果安装 'pyopenssl' 不成功,则还需要安装其他的依赖:

sudo apt-get install libffi-dev libssl-dev

  • No labels
Write a comment...