-
Notifications
You must be signed in to change notification settings - Fork 139
Description
Describe the bug
Following the installation instructions on this website the installation process fails.
To Reproduce
bash GIMP-ML/install.bat
**** GIMP-ML Setup started ****
Python 3 found.
[sudo] password for UsER:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-distutils is already the newest version (3.11.2-3).
python3-distutils set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
python3-pbr python3-unittest2
The following NEW packages will be installed:
python3-pbr python3-testresources python3-unittest2
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 163 kB of archives.
After this operation, 948 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bookworm/main amd64 python3-pbr all 5.10.0-2 [61.4 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 python3-unittest2 all 1.1.0-9 [75.8 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 python3-testresources all 2.0.1-4 [26.2 kB]
Fetched 163 kB in 1s (296 kB/s)
Selecting previously unselected package python3-pbr.
(Reading database ... 401626 files and directories currently installed.)
Preparing to unpack .../python3-pbr_5.10.0-2_all.deb ...
Unpacking python3-pbr (5.10.0-2) ...
Selecting previously unselected package python3-unittest2.
Preparing to unpack .../python3-unittest2_1.1.0-9_all.deb ...
Unpacking python3-unittest2 (1.1.0-9) ...
Selecting previously unselected package python3-testresources.
Preparing to unpack .../python3-testresources_2.0.1-4_all.deb ...
Unpacking python3-testresources (2.0.1-4) ...
Setting up python3-pbr (5.10.0-2) ...
Setting up python3-unittest2 (1.1.0-9) ...
update-alternatives: using /usr/bin/python3-unit2 to provide /usr/bin/unit2 (unit2) in auto mode
Setting up python3-testresources (2.0.1-4) ...
Scanning processes...
Scanning candidates...
Scanning processor microcode...
Scanning linux images...
Running kernel seems to be up-to-date.
The processor microcode seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
--2025-08-12 15:59:16-- https://bootstrap.pypa.io/pip/get-pip.py
Resolving bootstrap.pypa.io (bootstrap.pypa.io)... 146.75.92.175, 2a04:4e42:87::175
Connecting to bootstrap.pypa.io (bootstrap.pypa.io)|146.75.92.175|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2148718 (2.0M) [text/x-python]
Saving to: ‘get-pip.py’
get-pip.py 100%[==================================>] 2.05M 11.7MB/s in 0.2s
2025-08-12 15:59:17 (11.7 MB/s) - ‘get-pip.py’ saved [2148718/2148718]
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
/usr/bin/python3: No module named virtualenv
GIMP-ML/install.bat: line 37: gimpenv3/bin/activate: No such file or directory
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.11/README.venv for more information.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Traceback (most recent call last):
File "", line 1, in
ModuleNotFoundError: No module named 'gimpml'
chmod: cannot access 'gimpenv3/lib/': No such file or directory
GIMP-ML/install.bat: line 42: deactivate: command not found
*** GIMP-ML Setup Ended ****
- See error
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
-
OS Version: [MX-Linux]
-
Snapshot created on: 20250518_1131
System:
Kernel: 6.14.10-2-liquorix-amd64 [6.14-13~mx23ahs] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 clocksource: tsc
avail: hpet,acpi_pm parameters: audit=0 intel_pstate=disable amd_pstate=disable
BOOT_IMAGE=/vmlinuz-6.14.10-2-liquorix-amd64 root=UUID= ro quiet nomodeset splash
Desktop: Xfce v: 4.20.0 tk: Gtk v: 3.24.38 wm: xfwm4 v: 4.20.0 with: xfce4-panel
tools: xfce4-screensaver vt: 7 dm: LightDM v: 1.32.0 Distro: MX-23.6_ahs_x64 Libretto April 13
2025 base: Debian GNU/Linux 12 (bookworm)
Machine:
Type: Desktop System: Gigabyte product: X570 AORUS ELITE WIFI v: -CF serial:
Mobo: Gigabyte model: X570 AORUS ELITE WIFI serial:
uuid: UEFI: American Megatrends LLC. v: F38f date: 09/20/2023
CPU:
Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 3 level: v3 note: check
built: 2022 process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x21 (33) stepping: 0
microcode: 0xA20102B
Topology: cpus: 1x dies: 1 clusters: 1 cores: 6 threads: 12 tpc: 2 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB desc: 1x32 MiB
Speed (MHz): avg: 2200 min/max: 2200/3700 boost: enabled scaling: driver: acpi-cpufreq
governor: ondemand cores: 1: 2200 2: 2200 3: 2200 4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200
10: 2200 11: 2200 12: 2200 bogomips: 88799 -
GIMP Version: [e.g. 3.0.0]