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

Python 无法写入y/n以继续在kaggle中安装库,python,git,jupyter-notebook,git-bash,kaggle,Python,Git,Jupyter Notebook,Git Bash,Kaggle,不幸的是,在编写时,我想在kaggle中安装gmaps库!conda安装-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:

不幸的是,在编写
时,我想在kaggle中安装gmaps库!conda安装-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)?

我查看了Anaconda网站的常见问题,有一个具体的答案

确保提供
-y
以在安装提示中指定“是”,因为在运行时无法向命令提交输入

在我的例子中:

!conda install -c conda-forge gmaps -y