conda-forge / osmnx-feedstock

A conda-smithy repository for osmnx.
BSD 3-Clause "New" or "Revised" License
8 stars 10 forks source link

UnsatisfiableError when installing on windows #49

Closed gboeing closed 5 years ago

gboeing commented 5 years ago

@ocefpaf I'm sorry I always bring up problems for you. OSMnx install via conda-forge is broken on Windows due to an UnsatisfiableError.

C:\>conda create -n test osmnx
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 geopy conflicts for:
osmnx -> geopy[version='>=1.11']
Package requests conflicts for:
osmnx -> requests
Package folium conflicts for:
osmnx -> folium
Package rtree conflicts for:
osmnx -> rtree[version='>=0.8|>=0.8.3']
Package pandas conflicts for:
osmnx -> pandas[version='>=0.19']
Package shapely conflicts for:
osmnx -> shapely
Package matplotlib conflicts for:
osmnx -> matplotlib[version='>=2.0']
Package networkx conflicts for:
osmnx -> networkx[version='<2.0|>=2|>=2.1']
Package numpy conflicts for:
osmnx -> numpy
Package descartes conflicts for:
osmnx -> descartes
Package python conflicts for:
osmnx -> python[version='2.7.*|3.4.*|3.5.*|3.6.*']
Package geopandas conflicts for:
osmnx -> geopandas[version='>=0.2|>=0.2.1']
Note that strict channel priority may have removed packages required for satisfiability.

C:\>conda info

     active environment : None
            shell level : 0
       user config file : C:\Users\Geoff\.condarc
 populated config files : C:\Users\Geoff\.condarc
          conda version : 4.7.10
    conda-build version : 3.18.8
         python version : 3.7.3.final.0
       virtual packages :
       base environment : c:\Anaconda  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/win-64
                          https://conda.anaconda.org/conda-forge/noarch
                          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
          package cache : c:\Anaconda\pkgs
                          C:\Users\Geoff\.conda\pkgs
                          C:\Users\Geoff\AppData\Local\conda\conda\pkgs
       envs directories : c:\Anaconda\envs
                          C:\Users\Geoff\.conda\envs
                          C:\Users\Geoff\AppData\Local\conda\conda\envs
               platform : win-64
             user-agent : conda/4.7.10 requests/2.22.0 CPython/3.7.3 Windows/10 Windows/10.0.18362
          administrator : False
             netrc file : None
           offline mode : False
ocefpaf commented 5 years ago

@ocefpaf I'm sorry I always bring up problems for you. OSMnx install via conda-forge is broken on Windows due to an UnsatisfiableError.

It is probably the other way around, conda-forge was supposed to make the life of scientist easier by removing the packaging problem from their day-to-day operations :smile:

The problem here is that gdal never had icu explicitly declared and the pin update broke it. I'm rebuilding all the working versions of gdal today. 2.4.1 should be already OK, 2.4.2 is in https://github.com/conda-forge/gdal-feedstock/pull/314 and 3.0.1 is next. I'll test it on Windows before closing this.

ocefpaf commented 5 years ago

@gboeing I don't have a windows machine to check but I re-built the gdal packages that should (hopefully) fix this. Can you test it again?

ocefpaf commented 5 years ago

Got a Windows machine. This one is working again!

gboeing commented 5 years ago

@ocefpaf thanks, I'm moving cross country this week but will test again soon as I can.