安装底图时出现UnsatisfiableError
UnsatisfiableError while installing basemap
我安装了 Python 3.6 anaconda,想通过 conda 安装底图包进行安装。但是,我收到以下错误:
UnsatisfiableError: The following specifications were found to be in
conflict:
- basemap
- zict Use "conda info " to see the dependencies for each package.
我看到安装底图的依赖是Python 2.7。尽管我是 运行 3.6,但为什么会为我提供旧版 Python 发行版的底图版本?作为克服此 UnSAT 错误的下一步行动,您会推荐什么?
此致
编辑:
现在我得到以下错误,使用
conda install -c conda-forge basemap
谢谢你的想法。现在我收到以下消息:
(base) C:\Users\someuser>conda install -c conda-forge basemap Solving
environment: failed
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ C:\Users\someuser\Anaconda3\Scripts\conda install -c conda-forge
basemap
environment variables: REMOVED HERE!
PYTHONIOENCODING=1252
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : base
active env location : C:\Users\someuser\Anaconda3
shell level : 1
user config file : C:\Users\someuser\.condarc populated config files : C:\Users\someuser\.condarc
conda version : 4.5.2
conda-build version : 3.4.1
python version : 3.6.4.final.0
base environment : C:\Users\someuser\Anaconda3 (writable)
channel URLs : https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
https://pypi.python.org/simple/win-64
https://pypi.python.org/simple/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/win-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/win-64
https://repo.anaconda.com/pkgs/pro/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
package cache : C:\Users\someuser\Anaconda3\pkgs
C:\Users\someuser\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\someuser\Anaconda3\envs
C:\Users\someuser\AppData\Local\conda\conda\envs
C:\Users\someuser\.conda\envs
platform : win-64
user-agent : conda/4.5.2 requests/2.18.4 CPython/3.6.4 Windows/10 Windows/10.0.16299
administrator : False
netrc file : None
offline mode : False
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V
CondaHTTPError: HTTP 404 NOT FOUND for url
https://pypi.python.org/simple/noarch/repodata.json Elapsed:
00:00.179536
The remote server could not find the noarch directory for the
requested channel with url: https://pypi.python.org/simple
As of conda 4.3, a valid channel must contain a noarch/repodata.json
and associated noarch/repodata.json.bz2
file, even if
noarch/repodata.json
is empty. please request that the channel
administrator create noarch/repodata.json
and associated
noarch/repodata.json.bz2
files. $ mkdir noarch $ echo '{}' >
noarch/repodata.json $ bzip2 -k noarch/repodata.json
You will need to adjust your conda configuration to proceed. Use
conda config --show channels
to view your configuration's current
state. Further configuration help can be found at
https://conda.io/docs/config.html.
A reportable application error has occurred. Conda has prepared the
above report. If submitted, this report will be used by core
maintainers to improve future releases of conda. Would you like conda
to send this report to the core maintainers? [y/N]:
知道这里出了什么问题吗? linkhttps://pypi.python.org/simple/noarch/repodata.json确实不是found/available.
尝试"conda install -c conda-forge basemap"
我安装了 Python 3.6 anaconda,想通过 conda 安装底图包进行安装。但是,我收到以下错误:
UnsatisfiableError: The following specifications were found to be in conflict: - basemap - zict Use "conda info " to see the dependencies for each package.
我看到安装底图的依赖是Python 2.7。尽管我是 运行 3.6,但为什么会为我提供旧版 Python 发行版的底图版本?作为克服此 UnSAT 错误的下一步行动,您会推荐什么?
此致
编辑: 现在我得到以下错误,使用
conda install -c conda-forge basemap
谢谢你的想法。现在我收到以下消息:
(base) C:\Users\someuser>conda install -c conda-forge basemap Solving environment: failed
>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
$ C:\Users\someuser\Anaconda3\Scripts\conda install -c conda-forge basemap
environment variables: REMOVED HERE!
PYTHONIOENCODING=1252 REQUESTS_CA_BUNDLE=<not set> SSL_CERT_FILE=<not set> active environment : base active env location : C:\Users\someuser\Anaconda3 shell level : 1 user config file : C:\Users\someuser\.condarc populated config files : C:\Users\someuser\.condarc conda version : 4.5.2 conda-build version : 3.4.1 python version : 3.6.4.final.0 base environment : C:\Users\someuser\Anaconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/win-64 https://conda.anaconda.org/conda-forge/noarch https://pypi.python.org/simple/win-64 https://pypi.python.org/simple/noarch https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/free/win-64 https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/pro/win-64 https://repo.anaconda.com/pkgs/pro/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : C:\Users\someuser\Anaconda3\pkgs C:\Users\someuser\AppData\Local\conda\conda\pkgs envs directories : C:\Users\someuser\Anaconda3\envs C:\Users\someuser\AppData\Local\conda\conda\envs C:\Users\someuser\.conda\envs platform : win-64 user-agent : conda/4.5.2 requests/2.18.4 CPython/3.6.4 Windows/10 Windows/10.0.16299 administrator : False netrc file : None offline mode : False
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V
CondaHTTPError: HTTP 404 NOT FOUND for url https://pypi.python.org/simple/noarch/repodata.json Elapsed: 00:00.179536
The remote server could not find the noarch directory for the requested channel with url: https://pypi.python.org/simple
As of conda 4.3, a valid channel must contain a
noarch/repodata.json
and associatednoarch/repodata.json.bz2
file, even ifnoarch/repodata.json
is empty. please request that the channel administrator createnoarch/repodata.json
and associatednoarch/repodata.json.bz2
files. $ mkdir noarch $ echo '{}' > noarch/repodata.json $ bzip2 -k noarch/repodata.jsonYou will need to adjust your conda configuration to proceed. Use
conda config --show channels
to view your configuration's current state. Further configuration help can be found at https://conda.io/docs/config.html.A reportable application error has occurred. Conda has prepared the above report. If submitted, this report will be used by core maintainers to improve future releases of conda. Would you like conda to send this report to the core maintainers? [y/N]:
知道这里出了什么问题吗? linkhttps://pypi.python.org/simple/noarch/repodata.json确实不是found/available.
尝试"conda install -c conda-forge basemap"