1

I'm pretty new to pango and pangecairo, but I'd like to install a python binding of pango and pangocairo. I've installed pango, pangocffi, pangocairocffi via pip but it still tells me that no module named when I try to import them in python. Btw, I also install libsdl-pango-dev via apt but it seems not working as well. I have been searching solutions for a few days but no luck. Could anyone help me with that? Really appreciate!

1
  • I'm using anaconda, so is there any way to install them via anaconda or pip? Commented Aug 20, 2022 at 9:04

1 Answer 1

2

First make sure you have internet connection.

Then update your OS:

sudo apt-get update -y

Then install it with:

sudo apt-get install -y libpango-1.0-0

please if it works follow me plz

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks for the reply. But it doesn't work. Still show no module named 'pango'. And I'm using anaconda, is there any way to install them via conda?
sudo apt-get -y install libcogl-pango-dev worked for me on Ubuntu 22.04 to solve: "No package pango found".

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.