I have a problem trying to import
GeoPandas. Since it was impossible to install the package in the normal channels within Anaconda, because of possible incompatibility with other spatial packages, I create a new channel called
geo_envas it was sugested in other chats, as follows:
conda create -n geo_env conda activate geo_env conda config --env --add channels conda-forge conda config --env --set channel_priority strict conda install python=3 geopandas
by this way it was possible to install successfully
Geopandas, however, now I have a mixing of environments and by importing
geopandas as pdg I get:
import geopandas as gpd Traceback (most recent call last): File "<ipython-input-28-a62d01c1d62e>", line 1, in <module> import geopandas as gpd ModuleNotFoundError: No module named 'geopandas'
and even if I apply
python -c "import geopandas; print(geopandas.version)"
Now, I feel that I see the end of the path!! I have not idea now how to make this work, and I really need
Geopandas installed for some spatial analysis. Important to be mentioned, that I also have installed
fiona. Both of these are sometimes recommended to have installed before