question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] PyQt5<5.13, while current is 5.15.4 = Spyder is ruined

See original GitHub issue

Hi, Spyder 5.0.5 Windows 64 bits

  1. Installing Enaml from https://pypi.org/project/enaml/

  2. I also add Enamlx from https://pypi.org/project/enamlx/

  3. Which requires QScintilla from https://pypi.org/project/QScintilla/

  4. It upgrades PyQt5 to lastest version (currently 5.15.4).

At the end of installation, it then indicates a dependency defect :

C:\Program Files\Spyder>"%PYTHONPATH%\python" -m pip install --upgrade QScintilla
Collecting QScintilla
  Using cached QScintilla-2.13.0-cp36.cp37.cp38.cp39-none-win_amd64.whl (1.9 MB)
Collecting PyQt5>=5.15.4
  Using cached PyQt5-5.15.4-cp36.cp37.cp38.cp39-none-win_amd64.whl (6.8 MB)
Requirement already satisfied: PyQt5-sip<13,>=12.8 in c:\program files\spyder\pkgs (from QScintilla) (12.9.0)
Collecting PyQt5-Qt5>=5.15
  Using cached PyQt5_Qt5-5.15.2-py3-none-win_amd64.whl (50.1 MB)
Installing collected packages: PyQt5-Qt5, PyQt5, QScintilla
  Attempting uninstall: PyQt5
    Found existing installation: PyQt5 5.12.3
    Uninstalling PyQt5-5.12.3:
      Successfully uninstalled PyQt5-5.12.3
  WARNING: The scripts pylupdate5.exe, pyrcc5.exe and pyuic5.exe are installed in 'C:\Program Files\Spyder\Python\Scripts' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
spyder 5.0.5 requires pyqt5<5.13, but you have pyqt5 5.15.4 which is incompatible.
Successfully installed PyQt5-5.15.4 PyQt5-Qt5-5.15.2 QScintilla-2.13.0

C:\Program Files\Spyder>

And indeed, Spyder is then ruined (btw, many modules easily breaks Spyder).

Any reason so far to use outdated component ?

Regards.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Kochisecommented, Jul 11, 2021

Ok then. As I can redirect Spyder to use another Python environment, I’ll try to use that path instead, mostly to be sure to use up to date packages.

1reaction
dalthvizcommented, Jul 8, 2021

Hi @Kochise thank you for the feedback! And yes as @oscargus (thank you for pointing the issue where we are discussing packages creation for Qt 5.15!) there was not much priority until now to update to a recent version since with conda you can just get at most Qt 5.12 via conda-forge and when we checked there is some work to do for Spyder to be able to run and make the test suite pass with Qt 5.15. However this is something we will try to work in a future release indeed.

I will close this one but hope the info above makes more clear the state of things 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't install PyQt5 on python 3 with spyder ide - Stack Overflow
ERROR : spyder 4.1.4 has requirement pyqt5<5.13; python_version >= "3", but you'll have pyqt5 5.15.0 which is incompatible.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found