# PyQt4 no install

**URL:** <https://discuss.python.org/t/pyqt4-no-install/25230>\
**Category:** Python Help\
**Created:** [March 27, 2023, 3:00pm UTC](https://discuss.python.org/t/pyqt4-no-install/25230 "2023-03-27T15:00:37Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![CAM-Gerlach](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/cam-gerlach/32/3688_2.png) [@CAM-Gerlach](https://discuss.python.org/u/CAM-Gerlach)\
**Post date:** [March 27, 2023, 3:15pm UTC](https://discuss.python.org/t/pyqt4-no-install/25230/2 "2023-03-27T15:15:06Z")

</div>

Welcome!

PyQt4 has been unmaintained for many years, and is not compatible with modern Python; you should use PyQt5 or PyQt6 instead, especially when starting fresh with a new project. If you are following a tutorial for it, I strongly suggest you just find a more up to date tutorial—and I’m sure you can find a lot better than a one with no narration or explanation from a channel with 34 subscribers.

If you do want to try to make this work, you’ve apparently already installed PyQt5, so you could try replacing `PyQt4` with `PyQt5` in your `import` statement as `QtCore`, `QtGui` and `uic` are still available and the basics should mostly still work the same. However, if it does anything non-trivial, you’re likely to run into issues that may or may not be easy for a beginner to solve, so again I would strongly recommend finding a more up-to-date tutorial for PyQt5/6 or PySide2/6 5.12/6.2 or above.

Also, just to note, since these questions are about Qt//PyQt and not the Python language itself, you’re likely to find better help on a Qt/PyQt-specific forum. Best of luck!

---

_[View the full topic](https://discuss.python.org/t/pyqt4-no-install/25230)._
