[BUG] PyQt5<5.13, while current is 5.15.4 = Spyder is ruined
See original GitHub issueHi, Spyder 5.0.5 Windows 64 bits
-
Installing Enaml from https://pypi.org/project/enaml/
-
I also add Enamlx from https://pypi.org/project/enamlx/
-
Which requires QScintilla from https://pypi.org/project/QScintilla/
-
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:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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 😃