无法编写y / n以继续在kaggle中安装库

问题描述 投票:0回答:1

不幸的是,我想在kaggle中安装gmaps库,当编写!conda install -c conda-forge gmaps时,安装开始,但要求我继续y / n而没有输入来写入y或n。

Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /opt/conda

  added / updated specs:
    - gmaps


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    certifi-2019.11.28         |           py36_0         149 KB  conda-forge
    conda-4.8.2                |           py36_0         3.0 MB  conda-forge
    geojson-2.5.0              |             py_0          15 KB  conda-forge
    gmaps-0.9.0                |             py_0         1.7 MB  conda-forge
    ------------------------------------------------------------
                                           Total:         4.9 MB

The following NEW packages will be INSTALLED:

  geojson            conda-forge/noarch::geojson-2.5.0-py_0
  gmaps              conda-forge/noarch::gmaps-0.9.0-py_0

The following packages will be SUPERSEDED by a higher-priority channel:

  ca-certificates     pkgs/main::ca-certificates-2020.1.1-0 --> conda-forge::ca-certificates-2019.11.28-hecc5488_0
  certifi                                         pkgs/main --> conda-forge
  conda                                           pkgs/main --> conda-forge
  openssl              pkgs/main::openssl-1.0.2u-h7b6447c_0 --> conda-forge::openssl-1.0.2u-h516909a_0


Proceed ([y]/n)?
python git jupyter-notebook git-bash kaggle
1个回答
0
投票

我查看了Anaconda网站的常见问题解答,并对此有一个特定的答案。 You can check the article in here

请确保提供-y以在安装提示中指定yes,因为在运行时您无法将输入提交给命令。

在我的示例中:

!conda install -c conda-forge gmaps -y
© www.soinside.com 2019 - 2024. All rights reserved.