trouble when installing spyder 4
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) - 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
impossible to install spyder 4 though I have reinstalled a fresh version of anaconda
What steps reproduce the problem?
- install last version of Anaconda3-2019.10-Windows-x86_64.exe with admin rights
- install spyder 4 via anaconda command online
What is the expected output? What do you see instead?
I expected the installation to be completed without trouble. but i got this message (see screen attached) UnsatisfiableError: The following specifications were found to be incompatible with each other:
Paste Traceback/Error Below (if applicable)
(base) C:\WINDOWS\system32>conda install spyder=4.0.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. Examining bzip2: 35%|ββββββββββββββββββββββ | 125/360 [02:40<3:30:03, 53.63s/it]-Examining automat: 59%|βββββββββββββββββββββββββββββββββββ | 213/360 [06:00<1:33:06, 38.01s/it]-Examining jupyter_client: 64%|βββββββββββββββββββββββββββββββββββ | 229/360 [06:20<58:05, 26.60s/i\ |- mparing specs that have this dependency: 7%|βββ | 1/15 [00:39<09:13, 39.57s/i/ Comparing specs that have this dependency: 20%|ββββββββ | 3/15 [01:56<07:45, 38.77s/i/ Comparing specs that have this dependency: 40%|ββββββββββββββββ | 6/15 [02:48<04:13, 28.11s/it]- inding shortest conflict path for jupyter_client: 86%|βββββββββββββββββββββββββββββ | 6/7 [00:33<00:04, 4.16s/i- Comparing specs that have this dependency: 53%|ββββββββββββββββββββββ | 8/15 [03:47<03:18, 28.40s/i/ \Examining oauthlib: 74%|βββββββββββββββββββββββββββββββββββββββββββββ | 268/360 [14:47<50:35, 33.00s/it]-Examining jupyter_core: 77%|βββββββββββββββββββββββββββββββββββββββββββ | 276/360 [14:47<46:11, 33.00s/i- -Comparing specs that have this dependency: 40%|ββββββββββββββββ | 8/20 [03:25<05:08, 25.70s/i| |Comparing specs that have this dependency: 50%|ββββββββββββββββββββ | 10/20 [03:39<03:39, 21.93s/i- \Comparing specs that have this dependency: 65%|ββββββββββββββββββββββββββ | 13/20 [06:29<03:29, 29.98s/i| /Examining msgpack-python: 78%|βββββββββββββββββββββββββββββββββββββββββββ | 282/360 [22:40<33:52, 26.05s/it]-Examining pickleshare: 84%|ββββββββββββββββββββββββββββββββββββββββββββββββ | 302/360 [25:02<19:42, 20.38s/it]\Examining jedi: 98%|βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | 353/360 [25:03<02:22, 20.38s/i/ Examining pytest-remotedata: 99%|βββββββββββββββββββββββββββββββββββββββββββββββββββ| 357/360 [32:16<00:49, 16.55s/it]|failed - UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package jupyter_client conflicts for: spyder=4.0.0 -> qtconsole[version=β>=4.6.0β] -> ipykernel[version=β>=4.1β] -> jupyter_client anaconda==2019.10 -> jupyter_client==5.3.3[build=βpy36_1|py27_1|py37_1β] anaconda==2019.10 -> spyder-kernels==0.5.2=py36_0 -> jupyter_client[version=β>=4.1|>=5.2.0|>=5.2.3|>=5.3.1β] jupyterlab -> notebook[version=β>=4.3β] -> jupyter_client[version=β>=5.2.0|>=5.3.1|>=5.3.4β] jupyterlab_server -> notebook -> nbconvert -> jupyter_client[version=β>=4.2β] spyder-kernels -> jupyter_client[version=β>=5.2.3|>=5.3.4β] spyder-kernels -> ipykernel -> jupyter_client notebook -> jupyter_client[version=β>=5.2.0|>=5.3.1|>=5.3.4β] widgetsnbextension -> notebook[version=β>=4.4.1β] -> nbconvert -> jupyter_client[version=β>=4.2β] _ipyw_jlab_nb_ext_conf -> jupyterlab -> notebook[version=β>=4.3β] -> nbconvert -> jupyter_client[version=β>=4.2β] _ipyw_jlab_nb_ext_conf -> jupyterlab -> notebook[version=β>=4.3β] -> jupyter_client[version=β>=5.2.0|>=5.3.1|>=5.3.4β] ipykernel -> jupyter_client jupyterlab -> notebook[version=β>=4.3β] -> nbconvert -> jupyter_client[version=β>=4.2β] ipywidgets -> ipykernel[version=β>=4.5.1β] -> jupyter_client widgetsnbextension -> notebook[version=β>=4.4.1β] -> jupyter_client[version=β>=5.2.0|>=5.3.1|>=5.3.4β] jupyter_console -> jupyter_client qtconsole -> jupyter_client[version=β>=4.1β] spyder=4.0.0 -> nbconvert -> jupyter_client[version=β>=4.1|>=4.2|>=5.3.4β] qtconsole -> ipykernel[version=β>=4.1β] -> jupyter_client jupyterlab_server -> notebook -> jupyter_client[version=β>=5.2.0|>=5.3.1|>=5.3.4β] jupyter_client jupyter -> nbconvert -> jupyter_client[version=β>=4.1|>=4.2|>=5.2.0|>=5.3.1|>=5.3.4β] notebook -> nbconvert -> jupyter_client[version=β>=4.2β] ipywidgets -> widgetsnbextension[version=β>=3.2.0,<4.0.0β] -> notebook[version=β>=4.4.1β] -> nbconvert -> jupyter_client[version=β>=4.2β] ipywidgets -> widgetsnbextension[version=β>=3.2.0,<4.0.0β] -> notebook[version=β>=4.4.1β] -> jupyter_client[version=β>=5.2.0|>=5.3.1|>=5.3.4β] nbconvert -> jupyter_client[version=β>=4.2β] Package jedi conflicts for: jupyter -> ipykernel -> ipython -> jedi[version=β>=0.10β] ipykernel -> ipython -> jedi[version=β>=0.10β] spyder=4.0.0 -> python-language-server[version=β>=0.31.2,<0.32.0β] -> jedi[version=β>=0.14.1,<0.16β] jedi jupyterlab -> notebook[version=β>=4.3β] -> ipykernel -> ipython -> jedi[version=β>=0.10β] anaconda==2019.10 -> ipython==7.8.0=py36h39e3cac_0 -> jedi[version=β>=0.10|>=0.9β] ipywidgets -> ipython[version=β>=4.0.0β] -> jedi[version=β>=0.10β] qtconsole -> ipykernel[version=β>=4.1β] -> ipython -> jedi[version=β>=0.10β] notebook -> ipykernel -> ipython -> jedi[version=β>=0.10β] spyder=4.0.0 -> qtconsole[version=β>=4.6.0β] -> ipykernel[version=β>=4.1β] -> ipython[version=β>=4.0β] -> jedi[version=β>=0.10β] widgetsnbextension -> notebook[version=β>=4.4.1β] -> ipykernel -> ipython -> jedi[version=β>=0.10β] spyder-kernels -> ipykernel -> ipython -> jedi[version=β>=0.10β] anaconda==2019.10 -> jedi==0.15.1[build=βpy37_0|py27_0|py36_0β] jupyter_console -> ipython -> jedi[version=β>=0.10β] _ipyw_jlab_nb_ext_conf -> ipywidgets -> ipython[version=β>=4.0.0β] -> jedi[version=β>=0.10β] jupyterlab_server -> notebook -> ipykernel -> ipython[version=β>=5.0β] -> jedi[version=β>=0.10β] ipython -> jedi[version=β>=0.10β] spyder=4.0.0 -> jedi=0.14.1 Package jupyter_core conflicts for: qtconsole -> jupyter_client[version=β>=4.1β] -> jupyter_core[version=β>=4.6.0β] spyder=4.0.0 -> nbconvert -> jupyter_client[version=β>=4.2β] -> jupyter_core[version=β>=4.6.0β] jupyterlab_server -> notebook -> jupyter_core[version=β>=4.4.0|>=4.6.0β] nbformat -> jupyter_core jupyterlab -> notebook[version=β>=4.3β] -> jupyter_core[version=β>=4.4.0|>=4.6.0β] nbconvert -> jupyter_client[version=β>=4.2β] -> jupyter_core[version=β>=4.6.0β] notebook -> jupyter_core[version=β>=4.4.0|>=4.6.0β] anaconda==2019.10 -> jupyter_client==5.3.3=py36_1 -> jupyter_core[version=β>=4.4.0β] ipykernel -> jupyter_client -> jupyter_core[version=β>=4.6.0β] _ipyw_jlab_nb_ext_conf -> ipywidgets -> nbformat[version=β>=4.2.0β] -> jupyter_core[version=β>=4.4.0|>=4.6.0β] anaconda-project -> anaconda-client -> nbformat[version=β>=4.4.0β] -> jupyter_core jupyter_console -> jupyter_client -> jupyter_core[version=β>=4.6.0β] anaconda==2019.10 -> jupyter_core==4.5.0=py_0 spyder-kernels -> jupyter_client[version=β>=5.3.4β] -> jupyter_core[version=β>=4.6.0β] jupyter_core spyder=4.0.0 -> nbconvert -> jupyter_core widgetsnbextension -> notebook[version=β>=4.4.1β] -> jupyter_core[version=β>=4.4.0|>=4.6.0β] jupyter -> nbconvert -> jupyter_core[version=β>=4.4.0|>=4.6.0β] nbconvert -> jupyter_core anaconda-navigator -> anaconda-client[version=β>=1.6.14β] -> nbformat[version=β>=4.4.0β] -> jupyter_core ipywidgets -> nbformat[version=β>=4.2.0β] -> jupyter_core ipywidgets -> widgetsnbextension[version=β>=3.2.0,<4.0.0β] -> notebook[version=β>=4.4.1β] -> jupyter_core[version=β>=4.4.0|>=4.6.0β] anaconda-client -> nbformat[version=β>=4.4.0β] -> jupyter_core jupyter_client -> jupyter_core[version=β>=4.6.0β] qtconsole -> jupyter_core Package spyder conflicts for: spyder=4.0.0 Package spyder-kernels conflicts for: spyder-kernels anaconda==2019.10 -> spyder-kernels==0.5.2[build=βpy37_0|py27_0|py36_0β] spyder=4.0.0 -> spyder-kernels[version=β>=1.8.1,<2.0.0β] anaconda==2019.10 -> spyder==3.3.6=py36_0 -> spyder-kernels[version=β>=0.5.0,<1β] Package qtconsole conflicts for: qtconsole anaconda==2019.10 -> qtconsole==4.5.5=py_0 spyder=4.0.0 -> qtconsole[version=β>=4.6.0β] jupyter -> qtconsole anaconda==2019.10 -> jupyter==1.0.0=py36_7 -> qtconsole[version=β>=4.2β]
(base) C:\WINDOWS\system32>
PASTE TRACEBACK HERE
Versions
- Spyder version: 3.3.6
- Python version: Python 3.7.4 64-bit
- Qt version: Qt 5.9.6
- PyQt version: PyQt5 5.9.2
- Operating System name/version: Windows 10
Dependencies
PASTE DEPENDENCIES HERE
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (4 by maintainers)
Top GitHub Comments
After testing this and to kind of summary the help and comments above:
2019.10
Using
conda update spyder
a message appears indicating thatanaconda
requiresspyder==3.3.6
and that you should useconda install <pkg>==<version>
Seems like Anaconda 2019.10 prevents the update to Spyder 4 do multiple error dependencies when using
conda install spyder==4.0.0
orconda install -c spyder-ide spyder=4.0.0
:Using a new env to install Spyder 4 works (using something like
conda create -n <env name> spyder==4.0.0
and activating the new env to use Spyder with something likeconda activate <env name>
).Updating
anaconda
installs Spyder 4 (usingconda update anaconda
). Also, this update actually shows thatanaconda
will be downgraded from2019.10-py37_0
tocustom-py37_1
. This is the final list of packages in the base env when doing this:I can also confirm that a direct update of spyder after a fresh install of anaconda 2019.10 is not working. The suggestion of βconda update anacondaβ did however work without any issues.