Installation
To install the latest release of PyDriosm from PyPI via pip:
pip install --upgrade pydriosm
To install the most recent version of PyDriosm hosted on GitHub:
pip install --upgrade git+https://github.com/mikeqfu/pydriosm.git
Warning
Pip may fail to install the dependency package GDAL. In such a circumstance, try instead to install their .whl files, which can be downloaded from the web page of the archived “unofficial Windows binaries for Python extension packages” (by Christoph Gohlke) or a mirror site (by Erin Turnbull). For how to install a .whl file, see the answers to this StackOverflow question.
Note
If using a virtual environment, make sure it is activated.
It is recommended to add pip install the option
--upgrade
(or-U
) to ensure that you are getting the latest stable release of the package.Non-essential dependencies (e.g. GeoPandas) of PyDriosm are not enforced to be installed along with the installation of the package. This is intended to optimise the installation requirements. If a ModuleNotFoundError or an ImportError pops out when importing/running a function or a method, first try to install the module(s)/package(s) mentioned in the error message, and then try to import/run the function or method again.
For more general instructions on the installation of Python packages, please refer to the official guide of Installing Packages.
To check whether PyDriosm has been correctly installed, try to import the package via an interpreter shell:
>>> import pydriosm
>>> pydriosm.__version__ # Check the latest version
The latest version is: 2.2.0