首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何安装熊猫-使用标记安全错误进行分析

如何安装熊猫-使用标记安全错误进行分析
EN

Stack Overflow用户
提问于 2022-07-08 13:57:31
回答 1查看 406关注 0票数 2

我正在试着安装熊猫版本。

代码语言:javascript
运行
复制
!pip3 install pandas-profiling 
>>

 ERROR: Could not find a version that satisfies the requirement markupsafe~=2.1.1 (from pandas-profiling) (from versions: 0.9, 0.9.1, 0.9.2, 0.9.3, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 1.0, 1.1.0, 1.1.1, 2.0.0a1, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1)
ERROR: No matching distribution found for markupsafe~=2.1.1 (from pandas-profiling)
WARNING: You are using pip version 19.1.1, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

我已经试过运行这段代码了

代码语言:javascript
运行
复制
!pip3 install MarkupSafe==2.1.1

>>

ERROR: Could not find a version that satisfies the requirement MarkupSafe==2.1.1 (from versions: 0.9, 0.9.1, 0.9.2, 0.9.3, 0.11, 0.12, 0.13, 0.14, 0.15, 0.16, 0.17, 0.18, 0.19, 0.20, 0.21, 0.22, 0.23, 1.0, 1.1.0, 1.1.1, 2.0.0a1, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1)
ERROR: No matching distribution found for MarkupSafe==2.1.1
WARNING: You are using pip version 19.1.1, however version 21.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-07-08 14:47:09

MarkupSafe 2.0.1 需要 Python >= 3.6。MarkupSafe 2.1.1 需要 Python >= 3.7。由此可以推断出您使用的是Python3.6。要么使用MarkupSafe 2.0.1,要么将Python升级到3.7+。

据报道,该漏洞是:https://github.com/ydataai/pandas-profiling/issues/1004

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/72912517

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档