python-3.x - 无法从 azure devops 安装 mcafee-epo
问题描述
当我从 azure devops 运行命令“pip install mcafee-epo”时,出现以下错误。
脚本内容:pip install mcafee-epo
========================== Starting Command Output ===========================
[command]Collecting mcafee-epo
WARNING: 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:719)'),)': /simple/mcafee-epo/
WARNING: 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:719)'),)': /simple/mcafee-epo/
WARNING: 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:719)'),)': /simple/mcafee-epo/
WARNING: 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:719)'),)': /simple/mcafee-epo/
WARNING: 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:719)'),)': /simple/mcafee-epo/
Could not fetch URL https://pypi.org/simple/mcafee-epo/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/mcafee-epo/ (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:719)'),)) - skipping
ERROR: Could not find a version that satisfies the requirement mcafee-epo (from versions: none)
ERROR: No matching distribution found for mcafee-epo
##[error]Bash exited with code '1'.
解决方案
推荐阅读
- sql - 如何从表中选择孩子的所有父母
- azure-stream-analytics - 从 Azure 流分析作业生成唯一标识符
- javascript - 如何将 vuex 模块 getter 与组合 api 一起使用?
- python - Python Tkinter 变量未在其他线程中更新
- jenkins - 禁用 Jenkins 中不存在的插件
- c++ - 这行代码中“转”的目的是什么?
- r - 从闰年的数据中引导/模拟
- npm - NPM 过时的命令未显示完整列表
- javascript - 为什么在 JavaScript 中运行时输出“未定义”?
- html - 如何在 create-react-app 中为 index.html 指定 Cache-Control 标头