GuidesTypeScript API ReferencePython v2 API Reference
Guides

Previous version changes

This short guide describes how to upgrade the HERE Data SDK for Python packages to newer versions.

Updating Packages with Pip

🚧

Caution

Always upgrade all the installed SDK packages together at once: having a mix of different versions of the SDK packages is not supported. Pip should warn if only some packages are upgraded and you end up with an incompatible mix of versions. Please heed all warning messages and address them.

Use the pip list command to inspect your active pip environment, before and after the upgrade.

You can upgrade all the SDK packages using the same command used to originally install them, specifying updated version numbers:

Explain this code

pip install --extra-index-url https://repo.platform.here.com/artifactory/api/pypi/analytics-pypi/simple/ here-platform==2.32.0 here-geotiles==2.32.0 here-geopandas-adapter==2.32.0 here-content==2.32.0 here-inspector==2.32.0

If you don't have all the packages installed, you should mention only the ones you have installed by removing the packages not needed from the command above.

It's always preferred to upgrade all the installed packages at once, with one single command. To upgrade to the latest version, use the --upgrade parameter and don't mention the version numbers.

If your working environment is described by a requirements.txt file, amend the version numbers inside the file and then use the following command to upgrade the active environment to the new versions:

Explain this code

pip install -r requirements.txt --extra-index-url https://repo.platform.here.com/artifactory/api/pypi/analytics-pypi/simple/