Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installing pgimp package in Ubuntu Studio 20.10
I noticed that Gimp does not have python-fu available (only script-fu), and from what I can tell this is because Ubuntu Studio 20.10 doesn't come with python 2.7 preinstalled.  So I installed python 2.7 and the necessary 'numpy' and 'typing' packages with pip, but am still getting an error when I try to install 'pip3 install pgimp' or even 'pip install pgimp'

Here is the terminal error message involved:

pip3 install pgimp
Collecting pgimp
 Using cached pgimp-1.0.0a22.tar.gz (140 kB)
   ERROR: Command errored out with exit status 1:
    command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.arg
v[0] = '"'"'/tmp/pip-install-e4gzeesl/pgimp/'"'"'; __file__='"'"'/tm
p/pip-install-e4gzeesl/pgimp/'"'"';f=getattr(tokenize, '"'"'open'"'"
', open)(__file__);'"'"'\r\n'"'"', '"'"'\n'"'"');f.clo
se();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp
        cwd: /tmp/pip-install-e4gzeesl/pgimp/
   Complete output (7 lines):
   Traceback (most recent call last):
     File "<string>", line 1, in <module>
     File "/tmp/pip-install-e4gzeesl/pgimp/", line 42, in <module>
     File "/tmp/pip-install-e4gzeesl/pgimp/", line 37, in check_pyt
       raise GimpInstallationException(
   __main__.GimpInstallationException: At least one of the following packag
es is missing in the python2 installation: numpy, typing
ERROR: Command errored out with exit status 1: python egg_info Chec
k the logs for full command output.


Even though I already have numpy and typing installed, it still gives the same error message.  Do I need to configure python2.7 after the initial install before it gets recognized properly?  Gimp on my other machine (Ubuntu plain 20.04) has python-fu working already, yet it only has python3 installed and not python2.  So I'm a bit confused as to what the actual conflict is, or what the requirements are for python-fu.

well for the time being, I installed the latest version of GIMP as of now (v2.10.24) with flatpak and python-fu is available now and working. *shrug* Not the ideal fix but it's an option

Forum Jump: