Spyder won't update to 4.2.0 due to Python < 3.8 requirement
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder
(orpip
, if not using Anaconda) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset
- Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
Trying to update Spyder to 4.2.0 (from 4.1.5) through Anaconda but update will not install due to Python < 3.8.0 requirement.
What steps reproduce the problem?
- conda update conda
- conda update spyder
- will say “# All requested packages already installed.”
- conda install spyder=4.2.0
- gives the Python requirement ❤️.8.0 (as shown below)
What is the expected output? What do you see instead?
Spyder should update and Python version 3.8.0 should not prevent the Spyder update. I haven’t updated Python seperately, just using Anaconda, so seems like my Python version should be fine?
Paste Traceback/Error Below (if applicable)
(base) C:\>conda install spyder=4.2.0
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:
Specifications:
- spyder=4.2.0 -> python[version='>=3.7,<3.8.0a0']
Your python: python=3.8
If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.
Versions
- Spyder version: 4.1.5
- Python version: 3.8.3 64-bit
- Qt version: 5.9.7
- PyQt version: 5.9.2
- Operating System name/version: Windows 10
Dependencies
# Mandatory:
atomicwrites >=1.2.0 : 1.4.0 (OK)
chardet >=2.0.0 : 3.0.4 (OK)
cloudpickle >=0.5.0 : 1.6.0 (OK)
diff_match_patch >=20181111 : 20200713 (OK)
intervaltree : None (OK)
IPython >=4.0 : 7.19.0 (OK)
jedi =0.17.1 : 0.17.1 (OK)
nbconvert >=4.0 : 6.0.7 (OK)
numpydoc >=0.6.0 : 1.1.0 (OK)
paramiko >=2.4.0 : 2.7.2 (OK)
parso =0.7.0 : 0.7.0 (OK)
pexpect >=4.4.0 : 4.8.0 (OK)
pickleshare >=0.4 : 0.7.5 (OK)
psutil >=5.3 : 5.7.2 (OK)
pygments >=2.0 : 2.7.3 (OK)
pylint >=1.0 : 2.6.0 (OK)
pyls >=0.34.0;<1.0.0 : 0.34.1 (OK)
qdarkstyle >=2.8 : 2.8.1 (OK)
qtawesome >=0.5.7 : 1.0.1 (OK)
qtconsole >=4.6.0 : 4.7.7 (OK)
qtpy >=1.5.0 : 1.9.0 (OK)
rtree >=0.8.3 : 0.9.4 (OK)
sphinx >=0.6.6 : 3.2.1 (OK)
spyder_kernels >=1.9.4;<1.10.0 : 1.9.4 (OK)
watchdog : None (OK)
zmq >=17 : 20.0.0 (OK)
# Optional:
cython >=0.21 : 0.29.21 (OK)
matplotlib >=2.0.0 : 3.3.2 (OK)
numpy >=1.7 : 1.19.2 (OK)
pandas >=0.13.1 : 1.1.3 (OK)
scipy >=0.17.0 : 1.5.2 (OK)
sympy >=0.7.3 : 1.6.2 (OK)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Issue with Update Spyder 4.2.0 in Anaconda - Stack Overflow
I'm using Python version 3.8 and try to update with Spyder 4.2.0. I got a message, please see the attached image.
Read more >How to Update Spyder for Anaconda (Best Version) - YouTube
This is a quick video on how to update Spyder for Anaconda. As we all know, Anaconda is the best tool in the...
Read more >Common Illnesses — Spyder 5 documentation
Check the required version of spyder-kernels for your version of Spyder ... If so, the the error is likely due to your file...
Read more >How to update Spyder in Anaconda to 5.x?
What didn't work. Whenever I launch Spyder IDE, I get this prompt to upgrade the version to 5.x, and today, I decided to...
Read more >update anaconda - You.com | The Search Engine You Control
If you want to update Spyder in the root environment, then conda update spyder ... from a previous update of Python 3.7.5 to...
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
Fresh off the newswire [https://anaconda.org/anaconda/spyder/files] just appeared this evening
Ah - OK, makes sense.
Is there anyway for Spyder to be a bit smarter with its update prompt then? It’s rather confusing for new users (or at least for me!) to be told there’s an update avilable, follow all of the documentation/guidance, to then only find the update isn’t actually yet available without fundamentally changing their current (and recommended) installation set-up.
In short: could Spyder be context aware and actually check if an update is available for that user, rather than just checking that there’s been a new release?
Or, more low key, could you delay the update prompt until the update is actually widely available?