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.

Cannot resolve dependencies for spyder 4 when using conda-forge on win64

See original GitHub issue

Issue 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 (or pip, if not using Anaconda)~
  • ~Could not reproduce inside jupyter qtconsole (if console-related)~
  • ~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

Installing Spyder 4 from conda-forge does not succeed on win64 due to failing dependency checks.

Is conda-forge not yet supported?

What steps reproduce the problem?

  1. Open a conda console
  2. conda create -c conda-forge --name spyder_test spyder=4

What is the expected output? What do you see instead?

Installation of Spyder 4 with dependencies.

Paste Traceback/Error Below (if applicable)


(base) C:\Users\...\python>conda create -c conda-forge --name spyder_test spyder=4
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
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 each other:



Package atomicwrites conflicts for:
spyder=4 -> atomicwrites
Package qdarkstyle conflicts for:
spyder=4 -> qdarkstyle[version='>=2.7']
Package pyzmq conflicts for:
spyder=4 -> pyzmq
Package pygments conflicts for:
spyder=4 -> pygments[version='>=2.0']
Package python-language-server conflicts for:
spyder=4 -> python-language-server[version='>=0.31.2,<0.32.0']
Package jedi conflicts for:
spyder=4 -> jedi=0.14.1
Package nbconvert conflicts for:
spyder=4 -> nbconvert
Package sphinx conflicts for:
spyder=4 -> sphinx
Package pympler conflicts for:
spyder=4 -> pympler
Package pickleshare conflicts for:
spyder=4 -> pickleshare
Package rtree conflicts for:
spyder=4 -> rtree
Package spyder-kernels conflicts for:
spyder=4 -> spyder-kernels[version='>=1.8.1,<2.0.0']
Package qtpy conflicts for:
spyder=4 -> qtpy[version='>=1.5.0']
Package qtawesome conflicts for:
spyder=4 -> qtawesome[version='>=0.5.7']
Package pexpect conflicts for:
spyder=4 -> pexpect
Package pyqt conflicts for:
spyder=4 -> pyqt[version='>=5.6,<5.13']
Package watchdog conflicts for:
spyder=4 -> watchdog
Package cloudpickle conflicts for:
spyder=4 -> cloudpickle
Package keyring conflicts for:
spyder=4 -> keyring
Package diff-match-patch conflicts for:
spyder=4 -> diff-match-patch
Package psutil conflicts for:
spyder=4 -> psutil
Package python conflicts for:
spyder=4 -> python[version='>=2.7,<2.8.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0']
Package qtconsole conflicts for:
spyder=4 -> qtconsole[version='>=4.6.0']
Package numpydoc conflicts for:
spyder=4 -> numpydoc
Package pylint conflicts for:
spyder=4 -> pylint
Package chardet conflicts for:
spyder=4 -> chardet[version='>=2.0.0']
Package intervaltree conflicts for:
spyder=4 -> intervaltree
Package paramiko conflicts for:
spyder=4 -> paramiko
Note that strict channel priority may have removed packages required for satisfiability.


Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mherrmann3commented, Dec 12, 2019

Update: the problem was that I use conda-forge as the top channel & the setting channel_priority: strict. Solution:

conda config --env --set channel_priority disabled
conda update spyder

See details here: stackoverflow.com/a/59307296/3801913

I guess this means that strict channel_priority is not a really clever (and future proof) idea, yet.

0reactions
mherrmann3commented, Dec 11, 2019

Any update on this? I’m also still not able to update to Spyder v4.0.0 on Win x64 with the conda-forge channel (UnsatisfiableError) . However, it works with the anaconda channel: conda create -n spyder -c anaconda spyder

Read more comments on GitHub >

github_iconTop Results From Across the Web

python 3.x - Trouble updating to Spyder 4.0.0 - Stack Overflow
I was wanting to use Spyder 4 but also getting the error inside Spyder saying ... It could not find Anaconda inside the...
Read more >
Installation Guide — Spyder 4 documentation
Spyder is relatively easy to install on Windows, Linux and macOS. Just make sure to read and follow these instructions with care. If...
Read more >
Install spaCy · spaCy Usage Documentation
spaCy is a free open-source library for Natural Language Processing in Python. It features NER, POS tagging, dependency parsing, word vectors and more....
Read more >
conda install spyder stuck on solving environment - You.com
Created a virtual environment with python 3.9 and activated it. Installed flask and spyder - Went fine. Tried installing gunicorn using conda install...
Read more >
Installation — Numba 0.50.1 documentation
Installing using conda on x86/x86_64/POWER Platforms¶ · $ conda install numba. or: · $ conda update numba. Note that Numba, like Anaconda, only...
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