Installation

Installation of Photini is done in two parts - first install Python, then use Python to install and run Photini.

Installing Python

Python is absolutely essential to run Photini. It is already installed on many computers, but on Windows you will probably need to install it yourself.

Python should already be installed, but make sure you have Python 3. Open a terminal window and run the python3 command:

jim@mint22:~$ python3 -V
Python 3.12.3

Note that the command is python3. On some machines the python command still runs Python 2. If you do not have Python 3 installed then use your operating system’s package manager to install it.

You should also check what version of pip is installed:

jim@mint22:~$ pip3 show pip
Name: pip
Version: 24.0
Summary: The PyPA recommended tool for installing Python packages.
Home-page:
Author:
Author-email: The pip developers <distutils-sig@python.org>
License: MIT
Location: /usr/lib/python3/dist-packages
Requires:
Required-by:

Although pip is a Python package manager it should not be used to install packges under /usr/lib/. This system directory should only be used by the operating system’s package manager. With recent Python and pip versions you have to use a virtual environment to install other packages such as Photini.

Installing Photini

Before installing Photini you need to decide if you are installing it for a single user or for multiple users. Multi-user installations use a Python virtual environment to create a self contained installation that can easily be shared. Using a virtual environment has other advantages, such as easy uninstallation, so I also recommend using it for a single user installation.

Linux & MacOS users have another decision to make - whether to install Photini’s dependencies with pip or with the operating system’s package manager. For a good introduction to the advantages and disadvantages of each I suggest reading Managing Python packages the right way. All of Photini’s dependencies can be installed with pip, but I recommend installing PySide6 / PySide2 / PyQt6 / PyQt5 (whichever is available) with the package manager to ensure you install all of its system libraries and plugins, and so that you get the same GUI style as other Qt based applications. (Don’t forget to install the QtWebEngine stuff as well if it’s in a seaprate package.)

Virtual environment

If you are using a virtual environment you should set it up now. You can create a virtual environment in any writeable directory. I use the name photini and create it in my home directory:

jim@mint22:~$ python3 -m venv photini --system-site-packages
jim@mint22:~$ source photini/bin/activate
(photini) jim@mint22:~$ python -m pip install -U pip
Requirement already satisfied: pip in ./photini/lib/python3.12/site-packages (24.0)
Collecting pip
  Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.2-py3-none-any.whl (1.8 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 694.4 kB/s eta 0:00:00
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 24.0
    Uninstalling pip-24.0:
      Successfully uninstalled pip-24.0
Successfully installed pip-24.2

The option --system-site-packages makes packages installed with the system package manager (e.g. PyQt6) available within the virtual environment.

After creating the virtual environment you should update pip as shown above. This ensures that the latest version will be used to install Photini.

You should stay in this virtual environment while installing and testing Photini. After that Photini can be run without activating the virtual environment.

Qt package

Photini uses the Qt Framework for its graphical user interface. There are two current versions of Qt (Qt5 and Qt6) and each has two Python interfaces (PyQt and PySide). Hence there are four Python Qt packages - PyQt5, PyQt6, PySide2, and PySide6. Photini works with any one of these, but there isn’t one of them that works on all platforms. For example, Qt6 does not work on Windows versions earlier than Windows 10.

I recommend PyQt rather than PySide, and Qt6 rather than Qt5. However, if your operating system already has one of the packages installed then there’s probably no reason to use any other.

If you install more than one Qt package you can choose which one Photini uses in its configuration. This allows you to try each until you find one that works satisfactorily on your computer.

“Extras”

Photini has a number of optional extras that can be installed with pip. These are:

  • flickr: Enable uploading pictures to Flickr.

  • google: Enable uploading pictures to Google Photos.

  • ipernity: Enable uploading pictures to Ipernity.

  • pixelfed: Enable uploading pictures to Pixelfed or Mastodon.

  • importer: Import photos directly from a camera (not available on Windows).

  • spelling: Install a spell checker for Photini’s text entry fields.

  • gpxpy: Allow importing of GPS data from a phone tracking app or similar.

  • all: All of the above.

You can also choose to install one or more Qt packages:

  • pyqt5

  • pyqt6

  • pyside2

  • pyside6

The extras are listed in square brackets when running pip. For example:

pip install photini[pyqt6,spelling,gpxpy]

Note that the extras’ names are not case sensitive.

Initial installation

Firstly install Photini and any required extras with pip. Make sure you include at least one Qt package:

(photini) jim@mint22:~$ pip install photini[pyqt5,gpxpy,spelling]
Collecting photini[gpxpy,pyqt5,spelling]
  Downloading Photini-2024.8.2-py3-none-any.whl.metadata (11 kB)
Collecting appdirs>=1.3 (from photini[gpxpy,pyqt5,spelling])
  Downloading appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB)
Collecting cachetools>=3.0 (from photini[gpxpy,pyqt5,spelling])
  Downloading cachetools-5.5.0-py3-none-any.whl.metadata (5.3 kB)
Requirement already satisfied: chardet>=3.0 in /usr/lib/python3/dist-packages (from photini[gpxpy,pyqt5,spelling]) (5.2.0)
Collecting exiv2>=0.16 (from photini[gpxpy,pyqt5,spelling])
  Downloading exiv2-0.17.0-cp312-cp312-manylinux_2_28_x86_64.whl.metadata (7.1 kB)
Requirement already satisfied: filetype>=1.0 in /usr/lib/python3/dist-packages (from photini[gpxpy,pyqt5,spelling]) (1.2.0)
Requirement already satisfied: Pillow>=2.0 in /usr/lib/python3/dist-packages (from photini[gpxpy,pyqt5,spelling]) (10.2.0)
Requirement already satisfied: requests>=2.4 in /usr/lib/python3/dist-packages (from photini[gpxpy,pyqt5,spelling]) (2.31.0)
Requirement already satisfied: PyQt5>=5.9 in /usr/lib/python3/dist-packages (from photini[gpxpy,pyqt5,spelling]) (5.15.10)
Requirement already satisfied: PyQtWebEngine>=5.12 in /usr/lib/python3/dist-packages (from photini[gpxpy,pyqt5,spelling]) (5.15.6)
Collecting gpxpy!=1.6.0,>=1.3.5 (from photini[gpxpy,pyqt5,spelling])
  Downloading gpxpy-1.6.2-py3-none-any.whl.metadata (5.9 kB)
Collecting pyenchant>=2.0 (from photini[gpxpy,pyqt5,spelling])
  Downloading pyenchant-3.2.2-py3-none-any.whl.metadata (3.8 kB)
Requirement already satisfied: PyQt5-sip<13,>=12.13 in /usr/lib/python3/dist-packages (from PyQt5>=5.9->photini[gpxpy,pyqt5,spelling]) (12.13.0)
Downloading appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Downloading cachetools-5.5.0-py3-none-any.whl (9.5 kB)
Downloading exiv2-0.17.0-cp312-cp312-manylinux_2_28_x86_64.whl (15.3 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.3/15.3 MB 852.8 kB/s eta 0:00:00
Downloading gpxpy-1.6.2-py3-none-any.whl (42 kB)
Downloading pyenchant-3.2.2-py3-none-any.whl (55 kB)
Downloading Photini-2024.8.2-py3-none-any.whl (418 kB)
Installing collected packages: exiv2, appdirs, pyenchant, gpxpy, cachetools, photini
Successfully installed appdirs-1.4.4 cachetools-5.5.0 exiv2-0.17.0 gpxpy-1.6.2 photini-2024.8.2 pyenchant-3.2.2

Test the installation

Now you should be able to run photini:

(photini) jim@mint22:~$ python -m photini
ffmpeg or ffprobe not found
No module named 'requests_oauthlib'
No module named 'requests_toolbelt'
No module named 'requests_oauthlib'
No module named 'requests_oauthlib'

Photini should run successfully, but it lists some optional dependencies that are not installed. These provide additional features, for example the Flickr uploader, that not all users will need to install.

Missing system packages

On some Linux systems (e.g. Ubuntu, Debian, Mint) Photini may still not run if you’ve installed a Qt package with pip instead of the system’s package manager. In this case it may be worth doing a web search for the error messages you get. For example, failing to load a Qt plugin (on Debian) can be cured by installing just one system package (libxcb-xinerama0) but the error message doesn’t tell you that!

Optional dependencies

If you’d like to add any of the “extras” listed earlier to your Photini installation, you just need to run pip again:

(photini) jim@mint22:~$ pip install photini[flickr]
Requirement already satisfied: photini[flickr] in ./photini/lib/python3.12/site-packages (2024.8.2)
Requirement already satisfied: appdirs>=1.3 in ./photini/lib/python3.12/site-packages (from photini[flickr]) (1.4.4)
Requirement already satisfied: cachetools>=3.0 in ./photini/lib/python3.12/site-packages (from photini[flickr]) (5.5.0)
Requirement already satisfied: chardet>=3.0 in /usr/lib/python3/dist-packages (from photini[flickr]) (5.2.0)
Requirement already satisfied: exiv2>=0.16 in ./photini/lib/python3.12/site-packages (from photini[flickr]) (0.17.0)
Requirement already satisfied: filetype>=1.0 in /usr/lib/python3/dist-packages (from photini[flickr]) (1.2.0)
Requirement already satisfied: Pillow>=2.0 in /usr/lib/python3/dist-packages (from photini[flickr]) (10.2.0)
Requirement already satisfied: requests>=2.4 in /usr/lib/python3/dist-packages (from photini[flickr]) (2.31.0)
Collecting keyring>=7.0 (from photini[flickr])
  Downloading keyring-25.3.0-py3-none-any.whl.metadata (20 kB)
Collecting requests-oauthlib>=1.0 (from photini[flickr])
  Downloading requests_oauthlib-2.0.0-py2.py3-none-any.whl.metadata (11 kB)
Collecting requests-toolbelt>=0.9 (from photini[flickr])
  Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl.metadata (14 kB)
Collecting jaraco.classes (from keyring>=7.0->photini[flickr])
  Downloading jaraco.classes-3.4.0-py3-none-any.whl.metadata (2.6 kB)
Collecting jaraco.functools (from keyring>=7.0->photini[flickr])
  Downloading jaraco.functools-4.0.2-py3-none-any.whl.metadata (2.8 kB)
Collecting jaraco.context (from keyring>=7.0->photini[flickr])
  Downloading jaraco.context-6.0.1-py3-none-any.whl.metadata (4.1 kB)
Collecting SecretStorage>=3.2 (from keyring>=7.0->photini[flickr])
  Downloading SecretStorage-3.3.3-py3-none-any.whl.metadata (4.0 kB)
Collecting jeepney>=0.4.2 (from keyring>=7.0->photini[flickr])
  Downloading jeepney-0.8.0-py3-none-any.whl.metadata (1.3 kB)
Requirement already satisfied: oauthlib>=3.0.0 in /usr/lib/python3/dist-packages (from requests-oauthlib>=1.0->photini[flickr]) (3.2.2)
Requirement already satisfied: cryptography>=2.0 in /usr/lib/python3/dist-packages (from SecretStorage>=3.2->keyring>=7.0->photini[flickr]) (41.0.7)
Collecting more-itertools (from jaraco.classes->keyring>=7.0->photini[flickr])
  Downloading more_itertools-10.5.0-py3-none-any.whl.metadata (36 kB)
Downloading keyring-25.3.0-py3-none-any.whl (38 kB)
Downloading requests_oauthlib-2.0.0-py2.py3-none-any.whl (24 kB)
Downloading requests_toolbelt-1.0.0-py2.py3-none-any.whl (54 kB)
Downloading jeepney-0.8.0-py3-none-any.whl (48 kB)
Downloading SecretStorage-3.3.3-py3-none-any.whl (15 kB)
Downloading jaraco.classes-3.4.0-py3-none-any.whl (6.8 kB)
Downloading jaraco.context-6.0.1-py3-none-any.whl (6.8 kB)
Downloading jaraco.functools-4.0.2-py3-none-any.whl (9.9 kB)
Downloading more_itertools-10.5.0-py3-none-any.whl (60 kB)
Installing collected packages: requests-toolbelt, requests-oauthlib, more-itertools, jeepney, jaraco.context, SecretStorage, jaraco.functools, jaraco.classes, keyring
Successfully installed SecretStorage-3.3.3 jaraco.classes-3.4.0 jaraco.context-6.0.1 jaraco.functools-4.0.2 jeepney-0.8.0 keyring-25.3.0 more-itertools-10.5.0 requests-oauthlib-2.0.0 requests-toolbelt-1.0.0

Photini’s spelling checker may require some other files to be installed. See the pyenchant documentation for platform specific instructions.

One optional dependency that cannot be installed with pip is FFmpeg. This is used to read metadata from video files. Linux & MacOS users can install it with the system package manager, but installing it on Windows is non-trivial.

Start menu / application menu

Although you can run Photini from a command shell, most users would probably prefer to use the start / application menu or a desktop icon. These can be installed with the photini-post-install command:

(photini) jim@mint22:~$ photini-post-install
Creating /tmp/tmpj9rn81aj/photini.desktop
Installing /tmp/tmpj9rn81aj/photini.desktop
 to /home/jim/.local/share/applications

The photini-post-install command also sets “file associations” for some common image file types. This allows things like right-clicking on an image in a viewer application and selecting “open with Photini” from the context menu.

MacOS

Unfortunately the photini-post-install command doesn’t do anything on MacOS. I don’t have a MacOS computer to try things out on and have no idea how to set up shortcuts and file associations on a Mac. If you’d like to help develop and test a solution, do get in touch with me.

Localisation

The photini-post-install command has an option --language (or -l) that can set the language used for the description that accompaines a desktop icon (if Photini has been translated into that language).

(photini) jim@mint22:~$ photini-post-install --language fr
Creating /tmp/tmpecj_yk1e/photini.desktop
Installing /tmp/tmpecj_yk1e/photini.desktop
 to /home/jim/.local/share/applications

Additional users

If you have installed Photini in a virtual environment then other users should be able to run the photini command using its full path. (On Windows you will need to share the virtual environment top level directory first. Only read permission is needed.)

sarah@mint22:~$ /home/jim/photini/bin/photini

This is not a very convenient way to run Photini, so most users will want to add it to their start / application menu:

sarah@mint22:~$ /home/jim/photini/bin/photini-post-install
Creating /tmp/tmplavuaj12/photini.desktop
Installing /tmp/tmplavuaj12/photini.desktop
 to /home/sarah/.local/share/applications

To install Photini menu shortcuts for all users (not recommended) you can run the post install command as root (Linux) or in a command window run as administrator (Windows). It is important to use the full path to the post install command:

(photini) jim@mint22:~$ sudo /home/jim/photini/bin/photini-post-install
Creating /tmp/tmpkbuvvzs6/photini.desktop
Installing /tmp/tmpkbuvvzs6/photini.desktop

Uninstalling Photini

Before removing Photini you should use the photini-post-install command to remove it from the start / application menu:

(photini) jim@mint22:~$ photini-post-install --remove
Deleting /home/jim/.local/share/applications/photini.desktop

If you used a virtual environment you can simply delete the top level directory created when setting up the virtual environment. Otherwise you can use pip to uninstall Photini and as many of its dependencies as you want to remove:

(photini) jim@mint22:~$ pip uninstall photini exiv2
Found existing installation: Photini 2024.8.2
Uninstalling Photini-2024.8.2:
  Would remove:
    /home/jim/photini/bin/photini
    /home/jim/photini/bin/photini-configure
    /home/jim/photini/bin/photini-post-install
    /home/jim/photini/lib/python3.12/site-packages/Photini-2024.8.2.dist-info/*
    /home/jim/photini/lib/python3.12/site-packages/photini/*
Proceed (Y/n)? y
  Successfully uninstalled Photini-2024.8.2
Found existing installation: exiv2 0.17.0
Uninstalling exiv2-0.17.0:
  Would remove:
    /home/jim/photini/lib/python3.12/site-packages/exiv2-0.17.0.dist-info/*
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libINIReader-cec0f2f5.so.0
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libbrotlicommon-6ce2a53c.so.1.0.6
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libbrotlidec-811d1be3.so.1.0.6
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libcom_err-bb8268a4.so.2.1
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libcrypt-52aca757.so.1.1.0
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libcrypto-401bea5d.so.1.1.1k
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libcurl-bbcbc527.so.4.5.0
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libgssapi_krb5-83c4f835.so.2.2
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libidn2-2f4a5893.so.0.3.6
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libinih-520f2841.so.0
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libk5crypto-99a2d4ba.so.3.1
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libkeyutils-2777d33d.so.1.6
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libkrb5-2dfb1625.so.3.3
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libkrb5support-d61d84d2.so.0.1
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/liblber-2-a32c7900.4.so.2.10.9
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libldap-2-89849551.4.so.2.10.9
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libnghttp2-15973f3b.so.14.17.0
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libpcre2-8-516f4c9d.so.0.7.1
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libpsl-99becdd3.so.5.3.1
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libsasl2-7de4d792.so.3.0.0
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libselinux-64a010fa.so.1
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libssh-8f1ecd37.so.4.8.7
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libssl-52849bc7.so.1.1.1k
    /home/jim/photini/lib/python3.12/site-packages/exiv2.libs/libunistring-05abdd40.so.2.1.0
    /home/jim/photini/lib/python3.12/site-packages/exiv2/*
Proceed (Y/n)? y
  Successfully uninstalled exiv2-0.17.0

Updating Photini

When a new release of Photini is issued you can easily update your installation with pip. If you installed Photini in a virtual environment then you need to activate the virtual environment before upgrading:

jim@mint22:~$ source photini/bin/activate
(photini) jim@mint22:~$ pip install -U photini
Requirement already satisfied: photini in ./photini/lib/python3.12/site-packages (2024.5.0)
Collecting photini
  Downloading Photini-2024.8.2-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: appdirs>=1.3 in ./photini/lib/python3.12/site-packages (from photini) (1.4.4)
Requirement already satisfied: cachetools>=3.0 in ./photini/lib/python3.12/site-packages (from photini) (5.5.0)
Requirement already satisfied: chardet>=3.0 in /usr/lib/python3/dist-packages (from photini) (5.2.0)
Requirement already satisfied: exiv2>=0.16 in ./photini/lib/python3.12/site-packages (from photini) (0.17.0)
Requirement already satisfied: filetype>=1.0 in /usr/lib/python3/dist-packages (from photini) (1.2.0)
Requirement already satisfied: Pillow>=2.0 in /usr/lib/python3/dist-packages (from photini) (10.2.0)
Requirement already satisfied: requests>=2.4 in /usr/lib/python3/dist-packages (from photini) (2.31.0)
Downloading Photini-2024.8.2-py3-none-any.whl (418 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 418.1/418.1 kB 355.0 kB/s eta 0:00:00
Installing collected packages: photini
  Attempting uninstall: photini
    Found existing installation: Photini 2024.5.0
    Uninstalling Photini-2024.5.0:
      Successfully uninstalled Photini-2024.5.0
Successfully installed photini-2024.8.2

The -U option tells pip to update Photini to the latest available version.

If you upgrade Python you shouldn’t need to reinstall Photini or its dependencies if only the patch level changes (e.g. 3.8.9 to 3.8.10). After a more significant Python upgrade (e.g. 3.7.x to 3.8.y) you will need to do a fresh installation of Photini and its dependencies.

Dependency details

These lists of dependencies may be useful to Linux or MacOS users who prefer to use their system package manager to install them instead of pip. Note that in some cases you have a choice of packages, as discussed in the notes below each table.

Different operating systems have different names for the same packages. If you run into problems, please let me know (email jim@jim-easterbrook.me.uk) and once we’ve worked out what needs to be done I’ll be able to improve these instructions.

Essential dependencies

These are all required for Photini to be usable.

Package

Minimum version

Typical Linux package name

PyPI package name

Python

3.6

python3

PyQt [1]

5.11

python3-qt5 or python3-pyqt5 or python310-PyQt6

PySide2 [1]

5.11.0

python3-pyside2

PySide2

PySide6 [1]

6.2.0

python3-pyside6

PySide6

QtWebEngine [2]

python3-pyside2.qtwebengine or python310-PyQt6-WebEngine

PyQtWebEngine

python-exiv2

0.14.0

exiv2

appdirs

1.3

python3-appdirs

appdirs

Pillow

2.0

python3-Pillow

pillow

requests

2.4

python3-requests

requests

[1] PyQt, PySide2, and PySide6 are Python interfaces to the Qt GUI framework. Photini can use any of them (although PyQt is preferred), so you can install whichever one you prefer that is available for your operating system. (Note that PyQt6 and PySide6 are not compatible with Windows versions earlier than Windows 10.) If more than one of them is installed you can choose which one Photini uses in its configuration

[2] Photini needs the Python interface to QtWebEngine. This is included in PySide6 and some PyQt or PySide2 installations, otherwise you need to install a separate package.

Optional dependencies

Some of Photini’s features are optional - if you don’t install these packages Photini will work but the relevant feature will not be available. Linux package manager names will probably have python- or python3- prefixes.

Feature

Dependencies

Spell check[1]

pyenchant 2.0+

Flickr upload

requests-oauthlib 1.0+, requests-toolbelt 0.9+, keyring 7.0+

Ipernity upload

requests-toolbelt 0.9+, keyring 7.0+

Pixelfed upload

requests-oauthlib 1.0+, requests-toolbelt 0.9+, keyring 7.0+

Google Photos upload

requests-oauthlib 1.0+, keyring 7.0+

Thumbnail creation[2]

FFmpeg

Import photos from camera[3]

python3-gphoto2 1.8+

Import GPS logger file

gpxpy 1.3.5+

[1] Pyenchant requires a C library and dictionaries to be installed. See the pyenchant documentation for detailed instructions.

[2] FFmpeg is needed to generate thumbnails for video files, but it can also make them for some still image formats.

[3]Photini can import pictures from any directory on your computer (e.g. a memory card) but on Linux and MacOS systems it can also import directly from a camera if python-gphoto2 is installed.

Special installations

There are some circumstances where installing Photini from the Python Package Index (PyPI) with pip is not suitable. If you need easy access to the source files, for example to work on translating the user interface into another language, then you should install the development version.

Development version

To install the development version you can use git to clone the GitHub repository or download it as a .zip or .tar.gz file and then unpack it. Then set your working directory to the Photini top level directory before continuing.

You can run Photini without installing it, using the run_photini.py script:

$ python3 src/run_photini.py

This can be useful during development as the script should also work within an IDE.

The development version can be built and installed using pip:

$ pip3 install . --user

If you’d like to test or use one of Photini’s translation files you will need to update the translations before installing or running Photini:

$ python3 utils/lang_update.py
$ pip3 install . --user

This requires the Qt “linguist” software to be installed. See Testing your translation for more information about using translations.

Troubleshooting

If you ever have problems running Photini the first thing to do is to run it in a command window. If you installed Photini in a virtual environment then activate that environment first. Run the Photini program as a Python module. If it fails to run you should get some diagnostic information:

jim@brains:~$ source /home/jim/photini/bin/activate
(photini) jim@brains:~$ python3 -m photini -v

Note the use of the -v option to increase the verbosity of Photini’s message logging. This option can be repeated for even more verbosity.

To find out what version of Photini and some of its dependencies you are using, run it with the --version option:

(photini) jim@mint22:~$ python -m photini --version
ffmpeg or ffprobe not found
Photini 2024.8.2
  Python 3.12.3 (main, Jul 31 2024, 17:43:48) [GCC 13.2.0]
  python-exiv2 0.17.0, exiv2 0.28.3
  PyQt 5.15.10, Qt 5.15.13
  system locale en-GB, locales: en-GB en-Latn-GB en en-US en-Latn-US
  PyEnchant 3.2.2
  styles: cleanlooks, gtk2, cde, motif, plastique, Windows, Fusion
  using style: fusion

This information is useful if you need to email me (jim@jim-easterbrook.me.uk) with any problems you have running Photini.

Mailing list

For more general discussion of Photini (e.g. release announcements, questions about using it, problems with installing, etc.) there is an email list or forum hosted on Google Groups. You can view previous messages and ask to join the group at https://groups.google.com/forum/#!forum/photini.

Photini documentation

If you would like to have a local copy of the Photini documentation, and have downloaded or cloned the source files, you can install Sphinx and associated packages and then “compile” the documentation:

$ pip3 install -r src/doc/requirements.txt
$ python3 utils/build_docs.py

Open doc/html/index.html with a web browser to read the local documentation.


Comments or questions? Please subscribe to the Photini mailing list https://groups.google.com/forum/#!forum/photini and let us know.