Anaconda 水蟒罐头';t安装子进程32

Anaconda 水蟒罐头';t安装子进程32,anaconda,subprocess,Anaconda,Subprocess,如何在anaconda中安装子流程32 尝试在Anaconda上安装子流程32时遇到此错误。请帮忙 (base) C:\WINDOWS\system32>conda install subprocess32 Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving

如何在anaconda中安装子流程32

尝试在Anaconda上安装子流程32时遇到此错误。请帮忙

(base) C:\WINDOWS\system32>conda install subprocess32
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
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:

  - subprocess32 -> python[version='2.7.*|>=2.7,<2.8.0a0']

Your python: python=3

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.

The following specifications were found to be incompatible with each other:



Package vc conflicts for:
subprocess32 -> python=2.7 -> vc[version='>=9,<10.0a0']
python=3 -> vc[version='14.*|>=14,<15.0a0|>=14.1,<15.0a0']
subprocess32 -> vc=9
python=3 -> openssl[version='>=1.1.1d,<1.1.2a'] -> vc=9
Package pip conflicts for:
python=3 -> pip
subprocess32 -> python=2.7 -> pip
Package setuptools conflicts for:
subprocess32 -> python=2.7 -> pip -> setuptools
python=3 -> pip -> setuptools
Package wheel conflicts for:
python=3 -> pip -> wheel
subprocess32 -> python=2.7 -> pip -> wheel
Package msgpack-python conflicts for:
subprocess32 -> python=2.7 -> pip -> cachecontrol -> msgpack-python
python=3 -> pip -> cachecontrol -> msgpack-python

(基本)C:\WINDOWS\system32>conda安装子流程32
收集包元数据(repodata.json):完成
解决环境:初始冻结解决失败。用灵活的解决方法重试。
解决环境:\
发现冲突!正在查找不兼容的包。
这可能需要几分钟。按CTRL-C以中止。
失败
不满意错误:发现以下规格
要与环境中现有的python安装不兼容,请执行以下操作:
规格:

-subprocess32->python[version='2.7.*.|>=2.7,=9,=14,=14.1,=1.1.1d,由于依赖关系问题而发生错误。此处
subprocess32
需要python版本2.7。而您有python版本3

您可以使用python 2.7创建一个新环境,如下所示:

conda create--name env1 python=2.7

激活它:

conda激活环境1

然后将
子流程32安装为:

conda安装子流程32


不幸的是,您可能需要重新安装所有其他包。

也>代码>子进程32 < /C>是(从我知道的)Python 3的标准LIB中简单的一个后端的代码“代码>子进程< /代码>。因此,考虑如果您实际上需要Python 2,如果不是简单的<代码>导入子进程< /C>),则不需要额外的包。