[PyQt] Uninstalling a wheel

Damon Lynch damonlynch at gmail.com
Thu Feb 16 10:11:52 GMT 2017

On Thu, Feb 16, 2017 at 3:43 AM, Phil Thompson <phil at riverbankcomputing.com>

> On 16 Feb 2017, at 7:47 am, Damon Lynch <damonlynch at gmail.com> wrote:
> >
> > Hi Phil,
> >
> > The docs say 'pip3 uninstall pyqt5' is sufficient, but on my install at
> least if I didn't remove sip.so from python's site-packages, segfaults
> result. Perhaps it's different on Mac / Windows? I have no idea.
> uninstall doesn't uninstall dependencies. However installing PyQt v5.8
> should update any existing SIP version to the required level.
> Phil

Yes it's correct that the wheel created sip.so in the site-packages
directory during the pip3 install, as expected. And when running the uninstall,
as you've also noted, sip.so is not removed. The problem is, unless that
sip dependency is manually removed, any attempt to use PyQt5 results in
python3 segfaulting.

If pip3 uninstall can't remove sip.so my suggestion is to update the docs
to alert the user that they may need to manually remove the file.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170216/5711f08f/attachment.html>

More information about the PyQt mailing list