<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 16, 2017 at 3:43 AM, Phil Thompson <span dir="ltr"><<a href="mailto:phil@riverbankcomputing.com" target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On 16 Feb 2017, at 7:47 am, Damon Lynch <<a href="mailto:damonlynch@gmail.com">damonlynch@gmail.com</a>> wrote:<br>
><br>
> Hi Phil,<br>
><br>
> 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.<br>
<br>
</span>uninstall doesn't uninstall dependencies. However installing PyQt v5.8 should update any existing SIP version to the required level.<br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
Phil</font></span></blockquote></div><br></div><div class="gmail_extra">Yes it's correct that the wheel created <span class="gmail-im">sip.so in the </span><span class="gmail-im">site-packages directory during the pip3 install, as expected. And when running </span>the <span class="gmail-im"></span>uninstall, as you've also noted, <span class="gmail-">sip.so is not removed. The problem is, unless that sip dependency is manually removed, any attempt to use PyQt5 results in python3 segfaulting. <br><br></span></div><div class="gmail_extra"><span class="gmail-">If pip3 uninstall can't remove </span><span class="gmail-">sip.so my suggestion is to update the docs to alert the user that they may need to manually remove the file.<br><br></span></div><div class="gmail_extra"><span class="gmail-">Best,<br></span></div><div class="gmail_extra"><span class="gmail-">Damon<br></span></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature"><a href="http://www.damonlynch.net" target="_blank">http://www.damonlynch.net</a><div></div><div></div><div></div></div>
</div></div>