jsonpatch安装问题记录

下载库安装提示:

D:\Program Files\python3.6\Scripts>pip install  ‪C:\Users\liwen406\Downloads\jsonpatch-1.23-py2.py3-none-any.whl
Requirement '?C:\\Users\\liwen406\\Downloads\\jsonpatch-1.23-py2.py3-none-any.whl' looks like a filename, but the file does not exist
Could not install packages due to an EnvironmentError: Bad path: D:\Program Files\python3.6\Scripts\?C:\Users\liwen406\Downloads\jsonpatch-1.23-py2.py3-none-any.whl

Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)) - skipping

D:\Program Files\python3.6\Scripts>pip install C:\Users\liwen406\Downloads\jsonpatch-1.23-py2.py3-none-any.whl
Processing c:\users\liwen406\downloads\jsonpatch-1.23-py2.py3-none-any.whl
Collecting jsonpointer>=1.9 (from jsonpatch==1.23)
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpointer/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpointer/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpointer/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpointer/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpointer/
  Could not fetch URL https://pypi.org/simple/jsonpointer/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jsonpointer/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)) - skipping
  Could not find a version that satisfies the requirement jsonpointer>=1.9 (from jsonpatch==1.23) (from versions: )
No matching distribution found for jsonpointer>=1.9 (from jsonpatch==1.23)
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)) - skipping

命令行安装出现:

D:\Program Files\python3.6\Scripts>pip install jsonpatch
Collecting jsonpatch
  Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpatch/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpatch/
  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpatch/
  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpatch/
  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)': /simple/jsonpatch/
  Could not fetch URL https://pypi.org/simple/jsonpatch/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jsonpatch/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)) - skipping
  Could not find a version that satisfies the requirement jsonpatch (from versions: )
No matching distribution found for jsonpatch
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:833)'),)) - skipping

最后通过这种方式安装:


D:\Program Files\python3.6\Scripts>pip install jsonpatch -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Looking in indexes: http://pypi.douban.com/simple/
Collecting jsonpatch
  Downloading http://pypi.doubanio.com/packages/a0/e6/d50d526ae2218b765ddbdb2dda14d65e19f501ce07410b375bc43ad20b7a/jsonpatch-1.23-py2.py3-none-any.whl
Collecting jsonpointer>=1.9 (from jsonpatch)
  Downloading http://pypi.doubanio.com/packages/18/b0/a80d29577c08eea401659254dfaed87f1af45272899e1812d7e01b679bc5/jsonpointer-2.0-py2.py3-none-any.whl
Installing collected packages: jsonpointer, jsonpatch
Successfully installed jsonpatch-1.23 jsonpointer-2.0

D:\Program Files\python3.6\Scripts>

分享名称:jsonpatch安装问题记录
文章分享:http://bzwzjz.com/article/jipeos.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 成都网站设计 网站建设公司 重庆企业网站建设 高端网站设计 成都网站设计制作公司 网站建设方案 响应式网站设计 定制网站制作 重庆网站制作 成都营销网站制作 成都网站建设 网站建设费用 成都网站建设公司 成都网站建设公司 成都商城网站建设 营销型网站建设 盐亭网站设计 成都网站设计 重庆网站建设 古蔺网站建设 成都网站建设 成都网站建设