python-3.x - 无法安装可靠性包“pip install可靠性”
问题描述
我们在从 Power BI 导入可靠性库时遇到了一些问题。
我们尝试卸载“可靠性”库。
现在当我尝试重新安装它时,面临以下错误。有人可以帮我解决这个问题。
C:\Users\sm55267>pip install reliablity
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Defaulting to user installation because normal site-packages is not writeable
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/reliablity/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/reliablity/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/reliablity/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/reliablity/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))': /simple/reliablity/
Could not fetch URL https://pypi.org/simple/reliablity/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/reliablity/ (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))) - skipping
ERROR: Could not find a version that satisfies the requirement reliablity
ERROR: No matching distribution found for reliablity
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: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1076)'))) - skipping
解决方案
您的问题与 Power Bi 无关,但使用 pip 命令,您可以尝试通过以下方式重新安装它:
python -m pip install --upgrade --force-reinstall pip
无论如何,目前 Power BI 仅支持以下 Python 库:
- matplotlib
- 麻木的
- 熊猫
- scikit-学习
- scipy
- 海运
- 统计模型
可以参考文档:Power BI 中的 Python 可视化
推荐阅读
- sql - 在列中搜索部分文本
- haskell - 多态性的等级和(im)预测性之间有什么关系?
- pine-script - 使用 PineScript 重新评估每根蜡烛的变量值,以防止重新绘制错误
- jquery - JsRender+JsViews 选择数据绑定
- maven - 如何将多个依赖项组合成一个 Maven 工件?
- r - 从一组ggplot2中删除lm
- php - PHP - 驼峰式的 preg_replace_callback
- kubernetes - 如何动态分配 targetPort?
- perl - 根据 Perl Catalyst 应用程序上的配置变量加载模块
- c - 如何在c中实现继承类?