- #HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS .DLL#
- #HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS INSTALL#
- #HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS MANUAL#
- #HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS CODE#
- #HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS DOWNLOAD#
This leaves the geospatial environment clean and uncluttered. That’s the beauty of Anaconda because you can create a ‘pip-only’ python 2 environment (apart from ‘conda create’) for the geospatial packages, and then create other environments if needed.
#HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS INSTALL#
I think I am convinced that when using any packages that rely on the gdal libraries, it’s best pip install the wheels for everything, even when using Anaconda.
Who knows maybe I did something wrong on the install, but after spending an entire day messing with it, I reverted back to your method and it worked like a charm. Python developers have made great progress, however, with packages like fiona, shapely, rasterio, and more. Even with OSX, things can get screwy real fast. At the end of the day, the gdal libraries are written in C++, that’s the real problem.
#HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS .DLL#
It mainly has to do with the ways in which each package deals with the gdal dll files (dll hell). You may also be interested in this simple GitHub gist I put together on a quick way to install geopandas as part of a Python spatial science stack, with Miniconda.Īctually, I installed geopandas with conda-forge and I still had problems after installing the other packages that rely on the gdal libraries (fiona, shapely, rasterio, etc.).
Here’s a simple example of using geopandas with matplotlib to plot point data over a shapefile basemap:įor more advanced examples, see this tutorial on R-tree spatial indexing with geopandas, and an intro to the OSMnx package that uses geopandas to work with OpenStreetMap street networks.
#HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS CODE#
If each of these lines of code runs successfully without errors, then geopandas is successfully installed and ready to be used.
From a Python interpreter, run the following lines of code:įrom fiona.ogrext import Iterator, ItemsIterator, KeysIterator Lastly, test the Python bindings and geopandas itself. This command will display GDAL usage instructions if it’s installed properly and the Windows PATH variable is pointing correctly to its install directory. To test GDAL, re-open the command prompt and run: gdalinfo -help-general
#HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS DOWNLOAD#
Download the wheels for GDAL, Fiona, pyproj, rtree, and shapely from Gohlke.If any are already installed, uninstall them now. First and most important: do not try to directly pip install or conda install any of the dependencies – if you do, they will fail in some way later, often silently or obscurely, making troubleshooting difficult.
#HOW TO INSTALL WATCHTOWER LIBRARY 2014 ON WINDOWS MANUAL#
If that doesn’t work, install it the manual but foolproof way… Installing geopandas and its dependencies manually Then activate your new geo environment and run some code. From your command prompt, run:Ĭonda config -prepend channels conda-forgeĬonda create -n geo -strict-channel-priority geopandas jupyterlab Installing geopandas the easy wayįirst, try to install geopandas (and JupyterLab) the easy way using conda and conda-forge. Alternatively, Christoph Gohlke at UC Irvine maintains a large library of Python wheels for Windows. The conda package manager that comes with Anaconda/Miniconda does this for packages available in its repository, including channels like conda-forge.
The best bet on Windows is to install Python wheels when possible, because they contain pre-compiled extensions. However, several of its dependencies have C extensions that can cause compilation failures with pip on Windows. It seems that pip installing geopandas usually works fine on Linux and Mac. Having learned several valuable lessons, I thought I’d share them with the world in case anyone else is trying to get this toolkit working in a Windows environment. I recently went through the exercise of installing geopandas on Windows. This guide was written in 2014 and updated slightly in November 2020.