8000 ImportError: cannot import name 'aio' from 'grpc.experimental' · Issue #44 · conda-forge/google-api-core-feedstock · GitHub
[go: up one dir, main page]

Skip to content
ImportError: cannot import name 'aio' from 'grpc.experimental' #44
@s22chan

Description

@s22chan

Issue:

google-api-core-grpc >= 1.18.0 requires some AIO features (see https://googleapis.dev/python/google-api-core/latest/changelog.html#id5), but the conda-forge package for grpcio has been stuck on 1.23.0 for a while (see conda-forge/grpcio-feedstock#16)

When importing, you end up with the import error as above.

The newer packages need to set the grpc minimum version requirement to avoid being included in the solver.

Environment (conda list):

$ conda list
...
google-api-core           1.20.0                   pypi_0    pypi
google-api-core-grpc      1.20.0               hc8dfbb8_0    conda-forge
google-auth               1.16.1                   pypi_0    pypi
google-auth-oauthlib      0.4.1                      py_2    conda-forge
google-cloud-core         1.3.0                      py_0    conda-forge
google-cloud-logging      1.15.0             pyh9f0ad1d_0    conda-forge
google-cloud-storage      1.28.1             pyh9f0ad1d_0    conda-forge
google-resumable-media    0.5.1              pyh9f0ad1d_0    conda-forge
grpcio                    1.23.0           py37hb0870dc_1    conda-forge

Details about conda and system ( conda info ):
$ conda info

     active environment : base
    active env location : /opt/conda/envs/base
            shell level : 1
       user config file : /home/anaconda/.condarc
 populated config files :
          conda version : 4.8.2
    conda-build version : not installed
         python version : 3.7.6.final.0
       virtual packages : __glibc=2.28
       base environment : /opt/conda  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
          package cache : /opt/conda/pkgs
                          /home/anaconda/.conda/pkgs
       envs directories : /opt/conda/envs
                          /home/anaconda/.conda/envs
               platform : linux-64
             user-agent : conda/4.8.2 requests/2.22.0 CPython/3.7.6 Linux/4.19.76-linuxkit alpine/3.9.5 glibc/2.28
                UID:GID : 10151:101
             netrc file : None
           offline mode : False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0