在ubuntu下pip install praw ,提示
Could not fetch URL https://pypi.org/simple/praw/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/praw/ (Caused by SSLError(SSLError(136, '[X509] no certificate or crl found (_ssl.c:4232)'))) - skipping
ERROR: Could not find a version that satisfies the requirement praw (from versions: none)
ERROR: No matching distribution found for praw
这是因为pip源没有通过ssl认证,要添加信任才可以下载
python -m pip install ptaw --trusted-host=pypi.python.org --trusted-host=pypi.org --trusted-host=files.pythonhosted.org
这样就可以安装了!