Skip to content

How do I install "pygobject" and "pycairo" in Python? #3460

Closed Answered by frozen905
frozen905 asked this question in Q&A
Discussion options

You must be logged in to vote

Found some old conversation on Google search and figured it out 🤗

xproto is in pkg install xorgproto which then allows pip install pycairo to complete no problem

pip install pygobject now has new errors

~ $ pip install pygobject
Collecting pygobject
  Using cached PyGObject-3.44.1.tar.gz (720 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pycairo>=1.16.0 in /data/data/com.termux/files/usr/lib/python3.11/site-packages (from pygobject) (1.23.0)
Building wheels for collected packages: pygobject
  Building wheel for pygobject (pyproject.toml) ... error
  error: subprocess…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by frozen905
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant