Skip to content

Installation fails on Fedora Linux 42 (Workstation Edition) with runtime error: incompatible version of numpy (see highlighted line below) #83

@KingsdownKid

Description

@KingsdownKid

Describe the bug
Following instructions to install, up to the final step: "bash GIMP-ML/install.bat".
Installation proceeds OK, until the final step (see screenshot below).

To Reproduce
Follow instructions to install on Linux, as per web site.

Screenshots
Successfully installed gimpml-0.0.8

RuntimeError: module compiled against ABI version 0x1000009 but this version of numpy is 0x2000000
Traceback (most recent call last):
File "", line 1, in
import gimpml; gimpml.setup_python_weights()
^^^^^^^^^^^^^
File "/home/andy/Downloads/gimpenv3/lib/python3.13/site-packages/gimpml/init.py", line 1, in
from .tools.kmeans import get_kmeans as kmeans
File "/home/andy/Downloads/gimpenv3/lib/python3.13/site-packages/gimpml/tools/kmeans.py", line 5, in
import cv2
File "/home/andy/Downloads/gimpenv3/lib64/python3.13/site-packages/cv2/init.py", line 114, in
bootstrap()
~~~~~~~~~^^
File "/home/andy/Downloads/gimpenv3/lib64/python3.13/site-packages/cv2/init.py", line 102, in bootstrap
import cv2
ImportError: numpy.core.multiarray failed to import
*** GIMP-ML Setup Ended ****

Desktop (please complete the following information):

  • OS Version: Fedora Linux 42 (Workstation Edition)
  • GIMP Version: 3.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions