Closed danschef closed 4 years ago
It seems like this can be solved by conda install -c conda-forge rtree=0.9.3
. However, this does not install rtree from conda-forge but from pkgs/main.
You cannot mix channels like that unless you really know what you are doing and are willing to deal with the incompatibilities.
Please check our docs for the recommended way to use conda-forge
packages: https://conda-forge.org/docs/user/introduction.html#how-can-i-install-packages-from-conda-forge
I have the same problem,did you have been solved?
Yes, as @ocefpaf already wrote, you have to make sure not to mix packages from conda-forge and the defaults channel. Simply install both, python and geopandas, from conda-forge:
conda create -n geopandas_testenv -c conda-forge python=3.8 geopandas
(or conda create -n geopandas_testenv -c conda-forge geopandas
to install the latest python)
When installing geopandas 0.7.0 from conda-forge into a Python 3.8.2 Windows environment - with python coming from the defaults channel, geopandas raises the following exception on import:
Environment (
conda list
):Details about
conda
and system (conda info
):This does not happen when Python is also installed from conda-forge, e.g., by using the following command:
conda create -n geopandas -c conda-forge python=3.8 geopandas