Depending on the Python environment, installing GeoPandas using pip seems to fail. I failed. So make a note of the solution. (This article describes what to do if you get a "Fiona" related error while installing GeoPandas.)
This procedure uses Python 3.7.5. Basically, it works if it is 3.7 series, so if you have not installed Python yet, please install it from here. https://www.python.org/downloads/release/python-375/
Also, please install pip at the same time. https://qiita.com/suzuki_y/items/3261ffa9b67410803443
If you are looking at this page, you probably have failed to install GeoPandas once. At that time, did you get an error message about the module called Fiona? (If not, the content on this page may not be the solution)
GeoPandas requires Fiona, without which the installation will fail. And since Fiona requires a module called GDAL, installation of Fiona will fail without it.
so,
GDAL ↓ Fiona ↓ GeoPandas
Let's install in the order of. However, this installation does not work from pip.
Please download GDAL-3.0.3-cp37-cp37m-win_amd64.whl from the following site (GDAL-3.0.3-cp37-cp37m-win32.whl for 32-bit PC). The "3.0.3" part is subject to change. https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal
Place the file in a suitable folder and install it with the following command.
python -m pip install c:/python/codes/geo/GDAL-3.0.3-cp37-cp37m-win_amd64.whl
Here, the files are placed in C: / python / codes / geo.
As with GDAL, download Fiona-1.8.13-cp37-cp37m-win_amd64.whl from the following site (same page as GDAL) (Fiona-1.8.13-cp37-cp37m for 32-bit PC) ----- Win32.whl). The "1.8.13" part is subject to change. https://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona
Place the file in the same folder as GDAL and install it with the following command.
python -m pip install c:/python/codes/geo/Fiona-1.8.13-cp37-cp37m-win_amd64.whl
Now you are ready to go.
pip install geopandas
You should be able to install GeoPandas with.
For analysis using GeoPandas, it is convenient to use Jupyter Notebook.
pip install jupyter
Let's install it with. Go to the folder you want to analyze and
jupyter notebook
You can start it with.
As you use GeoPandas, you may need a module called "Rtree". I became However, this also doesn't work with pip, so I use the same site as Fiona and GDAL. Download Rtree-0.9.3-cp37-cp37m-win_amd64.whl (Rtree-0.9.3-cp37-cp37m-win32.whl for 32-bit PCs). The "0.9.3" part is subject to change. https://www.lfd.uci.edu/~gohlke/pythonlibs/#rtree
Place the file in the same folder as GDAL / Fiona and install it with the following command.
python -m pip install c:/python/codes/geo/Rtree-0.9.3‑cp37‑cp37m‑win_amd64.whl