无法将 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 (将#修改为@)