【发布时间】:2019-12-07 21:31:30
【问题描述】:
我正在尝试使用 Python=3.4 设置 Anaconda 环境。
(base) C:\WINDOWS\system32>conda create -n py34 version=3.4
我已经包含 conda-forge 频道,但仍然收到此错误:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- version=3.4
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
当我尝试:
(base) C:\WINDOWS\system32>conda create -n py34 python=3.4 -c conda-forge
我明白了:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package vc conflicts for:
python=3.4 -> vc=10
Package pip conflicts for:
python=3.4 -> pip
Package vs2010_runtime conflicts for:
python=3.4 -> vs2010_runtime
我对 Anaconda 和 Python 还很陌生,不知道该搜索什么。
这篇文章:Why conda cannot create environment with python=3.4 installed in it 也没有帮助。
【问题讨论】:
标签: anaconda conda python-3.4