Translation Notice
This article was machine-translated using DeepSeek-R1.
- Original Version: Authored in Chinese by myself
- Accuracy Advisory: Potential discrepancies may exist between translations
- Precedence: The Chinese text shall prevail in case of ambiguity
- Feedback: Technical suggestions regarding translation quality are welcomed
Problem Analysis
Possible issues with package upgrades or uninstallations related to spyder
dependencies.
After upgrading PyQt5
to version 5.15
, conflicts occurred since spyder
requires PyQt5<5.13
, causing startup failures.
Solution
Open Anaconda Prompt
and execute:
|
|
Explanation:
pip
automatically installs dependency-compatible packages. For example, when installing spyder
(which requires PyQt5<5.13
), pip
detects the installed PyQt5 5.15
and downgrades to the highest compatible version (PyQt5 5.12.3
, the latest version below 5.13
).
20210923 EDIT:
If encountering “Access Denied” errors, add the --user
option.