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

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.1.1