Reputation: 41
when i run the command i have this error message
$gnuhealth@ghealth:~ $ pip3 install --user --upgrade gnuhealth-client
Package cairo-gobject was not found in the pkg-config search path.
Perhaps you should add the directory containing `cairo-gobject.pc'
to the PKG_CONFIG_PATH environment variable
No package 'cairo-gobject' found
Command '('pkg-config', '--print-errors', '--exists', 'cairo-gobject >= 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
Upvotes: 0
Views: 1408
Reputation: 810
You need to follow the Getting Started with PyGObject instructions.
Are you using Ubuntu? You didn't say what your distribution is.
If so, to install PyGObject run:
sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-3.0
Upvotes: 0