Score:1

Why is "sip" missing when I run bzr?

us flag

When I run a bzr command such as:

bzr config launchpad_username

I get a strange error message:

Unable to load plugin 'qbrz' from '/usr/lib/python3/dist-packages/breezy/plugins/qbrz': No module named 'sip'

I can see that /usr/lib/python3/dist-packages/breezy/plugins/qbrz/__init__.py contains:

import sip
sip.setapi('QVariant', 2)

The error message seems harmless, but it's annoying. How can I fix it?

Score:1
us flag

You are missing sip, a library for binding Python and C or C++ modules, often used with Qt. The fact that it isn't installed is probably a packaging error. You can install it manually with:

sudo apt install python3-sip

The error message should no longer appear.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.