Skip to content

WPPM does not fully uninstall PyQt5 #449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
hiccup7 opened this issue Dec 26, 2016 · 1 comment
Closed

WPPM does not fully uninstall PyQt5 #449

hiccup7 opened this issue Dec 26, 2016 · 1 comment

Comments

@hiccup7
Copy link

hiccup7 commented Dec 26, 2016

Some WinPython users need to replace PyQt5 with PyQt4. In my case, because of this bug: matplotlib/matplotlib#7688

Here is the procedure that worked for me with 64-bit WinPython 3.5.2.4Qt5b3:

  1. Download from http://www.lfd.uci.edu/~gohlke/pythonlibs/#pyqt4
  2. Copy file to D:\toto\PyQt4‑4.11.4‑cp35‑none‑win_amd64.whl
  3. Run "WinPython Command Prompt.exe" as administrator
  4. In the cmd.exe window, type >wppm -u PyQt5
  5. In the cmd.exe window, type >wppm -i D:\toto\PyQt4‑4.11.4‑cp35‑none‑win_amd64.whl
  6. Delete the folder "%WINPYDIR%\Lib\site-packages\PyQt5"

Step 6) is necessary because wppm does not delete the folder with the uninstall of PyQt5, and many WinPython scripts (such as env.bat) look for the existence of the folder "%WINPYDIR%\Lib\site-packages\PyQt5" to determine if Qt5 is used.

Should wppm be changed so that step 6) is not necessary?

@stonebig
Copy link
Contributor

Hum, the problem is that we had missing things in PyQt5 directory, because of PyQt5 wheel deficiencies.

Maybe shall we test an object below that directory... __init__.py seems the only common file

@stonebig stonebig modified the milestones: 2017-01 Scikit-learn-0.19 / Spyder-3.1 / Matplotlib 2.0.1 / Jupyterlab, 2016-06 Spyder-3.0.2+ / WinPython-3.6.0 / TensorFlow Dec 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants