Как импортировать GIMP в сценарии Python3? - PullRequest
0 голосов
/ 12 октября 2019

Извините за вопрос noob, но я не могу найти команду установки gimp.

$ pip3 install pgimp

выдает следующую ошибку

 ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tt98fv7k/pgimp/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tt98fv7k/pgimp/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
         cwd: /tmp/pip-install-tt98fv7k/pgimp/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-tt98fv7k/pgimp/setup.py", line 42, in <module>
        check_python2_installation()
      File "/tmp/pip-install-tt98fv7k/pgimp/setup.py", line 38, in check_python2_installation
        'At least one of the following packages is missing in the python2 installation: ' + ', '.join(requirements)
    __main__.GimpInstallationException: At least one of the following packages is missing in the python2 installation: numpy, typing
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
...