Installation¶
To install the latest release of PyDriosm at PyPI via pip:
pip install --upgrade pydriosm
To install the more recent version hosted directly from GitHub repository:
pip install --upgrade git+https://github.com/mikeqfu/pydriosm.git
Note
Possibilities of pip install
being unsuccessful or causing errors:
- For Windows users:
The
pip
method might fail to install some dependencies, such as GDAL, Fiona and Shapely. If errors occur when directly installing any of those dependencies,pip install
instead their respective .whl files, which can be downloaded from Unofficial Windows Binaries for Python Extension Packages. After the .whl files are installed successfully, trypip install pydriosm
again.
- For Linux/Unix users:
To try out any earlier version (<2.0.0) that is not compatible with 2.0.0+, check this page for instructions if errors occur during installation.
To test if PyDriosm is correctly installed, try to import the package via an interpreter shell:
>>> import pydriosm
>>> pydriosm.__version__
The current release version is: 2.0.3
Note
If using a virtual environment, ensure that it is activated.
To ensure you get the most recent version, it is always recommended to add
--upgrade
(or-U
) topip install
.The package has not yet been tested with Python 2. For users who have installed both Python 2 and Python 3, it would be recommended to replace
pip
withpip3
. But you are more than welcome to volunteer testing the package with Python 2 and any issues should be logged/reported onto the Issues page.For more general instructions, check the Installing Packages page.