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.

Spyder 4 Optional Dependencies Not Installed

See original GitHub issue

Description

What steps will reproduce the problem?

Launch Spyder 4 beta after installation, select help and then Dependencies…

The Optional Dependencies are all marked with a ! Typing in a script and then executing the script and restarting Spyder 4 solves the issue.

pip install sympy pip install cython pip install matplotlib pip install pandas pip install numpy pip install scipy

Versions

  • Spyder version: 4.0.0b6
  • Python version: 3.7.4
  • Qt version: 5.9.6
  • PyQt5 version: 5.9.2
  • Operating System: Windows 10

Dependencies

cloudpickle >=0.5.0          :  1.2.2 (OK)
pygments >=2.0               :  2.4.2 (OK)
qtconsole >=4.5.5            :  4.5.5 (OK)
nbconvert >=4.0              :  5.6.0 (OK)
sphinx >=0.6.6               :  2.2.0 (OK)
pylint >=0.25                :  2.4.2 (OK)
psutil >=0.3                 :  5.6.3 (OK)
qtawesome >=0.5.7            :  0.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
zmq >=17                     :  18.1.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
numpydoc >=0.6.0             :  0.9.1 (OK)
spyder_kernels >=1.5.0;<2.0.0:  1.5.0 (OK)
qdarkstyle >=2.7             :  2.7 (OK)
atomicwrites >=1.2.0         :  1.3.0 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
watchdog                     :  None (OK)
keyring                      :  None (OK)
pexpect >=4.4.0              :  4.7.0 (OK)
pympler                      :  None (OK)
sympy >=0.7.3                :  None (NOK)
cython >=0.21                :  None (NOK)
IPython >=4.0                :  7.8.0 (OK)
matplotlib >=2.0.0           :  None (NOK)
pandas >=0.13.1              :  None (NOK)
numpy >=1.7                  :  None (NOK)
scipy >=0.17.0               :  None (NOK)
pyls >=0.28.2;<0.29.0        :  0.28.3 (OK)
rtree >=0.8.3                :  0.8.3 (OK)

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Oct 16, 2019

Besides, this dependency

rtree >=0.8.3                :  0.8.3 (OK)

shows that you’re using Anaconda, but by running these commands

pip install sympy
pip install cython
pip install matplotlib
pip install pandas
pip install numpy
pip install scipy

instead of

conda install sympy
conda install cython
conda install matplotlib
conda install pandas
conda install numpy
conda install scipy

you broke your Anaconda installation and now you have to reinstall it. That’s because pip and conda packages are incompatible for the most part.

So from now on please use conda first to install packages and only use pip if they are not available through conda.

0reactions
PhilipYip1988commented, Oct 16, 2019

Sorry I meant to clarify that when ran the conda install sympy in the Anaconda Prompt I got “All requested packages already installed” however after that when I relaunched Spyder 4 it was still marked with a warning. The only way I could get the warning to disappear was to use the pip install sympy within the Spyder 4 console.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation Guide — Spyder 4 documentation
If Spyder does not launch via this method or you prefer to use the command ... To install Spyder's optional dependencies as well...
Read more >
'xlrd' installed, but getting the error: "Missing optional ...
I tried this and my issue seems to be resolved! Though I would still be interested to hear further input or comments, if...
Read more >
Detailed instructions for installing dependencies
Manual installation of dependencies​​ If you use Anaconda, type the above command in a system terminal launched from “anaconda/Scripts” or “anaconda/bin” folder. ...
Read more >
Installation — cartopy 0.21.0 documentation - SciTools
Many of these dependencies are built as part of Cartopy's conda distribution, and the recipes for these packages can be found at ...
Read more >
Install — NetworkX 2.8.8 documentation
NetworkX requires Python 3.8, 3.9, or 3.10. If you do not already have a Python environment configured on your computer, please see the...
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