nvllsvm/mpd-art-box

Pip install error

Opened this issue · 1 comments

Hi!
pip install command errores out like this
Python 3.8.7, Arch Linux

❯ pip install mpd-art-box                                                                                                                                              INSERT
Collecting mpd-art-box
  Using cached mpd-art-box-0.0.5.tar.gz (2.7 kB)
Collecting configargparse
  Using cached ConfigArgParse-1.2.3.tar.gz (42 kB)
Collecting pygobject
  Using cached PyGObject-3.38.0.tar.gz (712 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting python-mpd2>=2
  Using cached python_mpd2-3.0.3-py2.py3-none-any.whl (32 kB)
Processing ./.cache/pip/wheels/7c/6f/b3/3181c06d04ed8f428f86797384f5b4c9932692b9526b6aba21/pycairo-1.20.0-cp38-cp38-linux_x86_64.whl
Using legacy 'setup.py install' for mpd-art-box, since package 'wheel' is not installed.
Using legacy 'setup.py install' for configargparse, since package 'wheel' is not installed.
Building wheels for collected packages: pygobject
  Building wheel for pygobject (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/weiss-d/.asdf/installs/python/3.8.7/bin/python3.8 /home/weiss-d/.asdf/installs/python/3.8.7/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmpz1hqerkg
       cwd: /tmp/pip-install-7_yqz7iu/pygobject
  Complete output (42 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.8
  creating build/lib.linux-x86_64-3.8/pygtkcompat
  copying pygtkcompat/pygtkcompat.py -> build/lib.linux-x86_64-3.8/pygtkcompat
  copying pygtkcompat/generictreemodel.py -> build/lib.linux-x86_64-3.8/pygtkcompat
  copying pygtkcompat/__init__.py -> build/lib.linux-x86_64-3.8/pygtkcompat
  creating build/lib.linux-x86_64-3.8/gi
  copying gi/types.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/pygtkcompat.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/module.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/importer.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/docstring.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/_signalhelper.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/_propertyhelper.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/_ossighelper.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/_option.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/_gtktemplate.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/_error.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/_constants.py -> build/lib.linux-x86_64-3.8/gi
  copying gi/__init__.py -> build/lib.linux-x86_64-3.8/gi
  creating build/lib.linux-x86_64-3.8/gi/repository
  copying gi/repository/__init__.py -> build/lib.linux-x86_64-3.8/gi/repository
  creating build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/keysyms.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/__init__.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/Pango.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/Gtk.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/Gio.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/GdkPixbuf.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/Gdk.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/GObject.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/GLib.py -> build/lib.linux-x86_64-3.8/gi/overrides
  copying gi/overrides/GIMarshallingTests.py -> build/lib.linux-x86_64-3.8/gi/overrides
  running build_ext
  Package gobject-introspection-1.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `gobject-introspection-1.0.pc'
  to the PKG_CONFIG_PATH environment variable
  Package 'gobject-introspection-1.0', required by 'virtual:world', not found
  Command '('pkg-config', '--print-errors', '--exists', 'gobject-introspection-1.0 >= 1.46.0')' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for pygobject
Failed to build pygobject
ERROR: Could not build wheels for pygobject which use PEP 517 and cannot be installed directly

I just ran the exact same command on Arch with Python 3.9.7 and it worked perfectly fine. Maybe just retry?