[Python-modules-team] Bug#789818: ImportError: No module named sip

Joseph Bisch joseph.bisch at gmail.com
Thu Jun 25 13:17:05 UTC 2015


Control: reassign -1 python-qt4 4.11.4+dfsg-1

On Wed, Jun 24, 2015 at 4:14 PM, Andreas Hilboll <andreas at hilboll.de> wrote:
> `python3-sip` is installed:
>
> $ dpkg --get-selections | grep python3-sip
> python3-sip                                     install
>
> sip-api is not:
>
> $ dpkg --get-selections | grep sip-api

The package name is literally sip-api-11.2 including the number. But I
guess it wouldn't show up with that command since it is virtual
anyway.

> The following package changes were applied by the command `apt-get
> install bitcoind armory`:
>
>     Package changes:
>     <snip>
>     +python3-sip 4.16.8+dfsg-1 amd64
>

So it looks like it lists python3-sip, but not the virtual package,
but I guess the virtual package wouldn't be listed there anyway.

Since python3-sip was installed during the armory installation, I
believe my theory is correct. I also checked with #debian-python on
OFTC on IRC. They said to report the bug against python-qt4, so I am
reassigning this bug to python-qt4.

To summarize the problem for the python-qt4 maintainers who weren't
previously included in the emails, it seems like the latest version of
python-qt4 in Sid depends on sip-api-11.2 which is provided by either
python-sip or python3-sip. But as python-qt4 isn't Python 3 code, it
seems like python3-sip shouldn't be an option. In the case of the user
who opened the bug, python3-sip was installed as a dependency, but not
python-sip preventing my package from running, because pyqt4 in turn
wouldn't work without sip for Python 2.

Cheers,

Joseph



More information about the Python-modules-team mailing list