Skip to content

Install as a command-line tool

GeoPicTagReader can be installed using two methods:

GeoPicTagReader is compatible with all Python versions >= 3.8.

Note

Due to Pyexiv2 dependency on a recent GLIBC version, you have to make sure to run on a recent, up-to-date operating system.

Just launch this command:

pip install geopic_tag_reader

Alternatively, you can use pipx if you want all the script dependencies to be in a custom virtual env.

You need to install pipx, then:

pipx install geopic_tag_reader

Download the repository:

git clone https://gitlab.com/panoramax/server/geo-picture-tag-reader.git geopic_tag_reader
cd geopic_tag_reader/

# Create the virtual environment in a folder named "env" (1)
python3 -m venv env

# Launches utilities to make environment available in your Bash
source ./env/bin/activate

# Then, install the dependencies using pip:
pip install -e .

  1. To avoid conflicts, it's considered a good practice to create a virtual environment (or virtualenv).

After this you should be able to use the CLI tool with the name geopic-tag-reader:

geopic-tag-reader --help

Write EXIF tags

If you want to be able to write exif tags, you need to also install the write-exif extra:

This will install libexiv2 if available in the target platform.

pip install geopic_tag_reader[write-exif]
pipx install geopic_tag_reader[write-exif]
pip install -e .[write-exif]