如何解决无法将 winshell 安装到 Anaconda python 3.8
我需要将winshell导入python,为了使用python修改windows快捷方式,在Anaconda 4.9.2中运行Python 3.8.3,使用PyWin32模块。参见,例如,Modify Windows shortcuts using Python
我尝试了两个替代的 Anaconda 命令来将 winshell 添加到 Anaconda,即在第一个失败后尝试第二个:
conda install -c mutirri/label/anaconda winshell
conda install -c mutirri winshell
我收到几乎相同的错误消息(见下文),我不明白。这是我在运行上面引用的 conda install 命令时收到的错误消息:
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- winshell -> python=2.7
Your python: python=3.8
If python is on the left-most side of the chain,that's the version you've asked for.
When python appears to the right,that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
一方面,我认为 PyWin32 模块适用于所有现代版本的 Python。 但是 PyWin32 模块似乎依赖于 winshell 模块,我的印象是 Anaconda 告诉我 winshell 模块与 python 3.8 不一致。
我确定我遗漏了一些明显的东西,但我一直无法弄清楚是什么。 任何建议将不胜感激。我花了几个小时寻找,但找不到答案。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。