I am setting up the ns3-allinone environment using bake. Once of the dependencies I require is gi-cairo. I have tried the following commands in my Ubuntu Python virtual environment:
sudo apt-get install python3-gi-cairo
pip install pycairo
pip install pygobject
These commands execute succesfully, but whenever I check the dependencies using ./bake.py show, the following text still shows up:
> gi-cairo - Missing
>> Python gobject components missing from system.
>> Try: "sudo apt-get install python3-gi-cairo", if you have sudo rights.
Any suggestions on what to do?