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.

Trying conda install spyder=4.1.5 says missing xarray

See original GitHub issue

Problem Description

trying to use

conda install spyder=4.1.5

gives an error

PackagesNotFoundError: The following packages are missing from the target environment:
  - conda-forge/noarch::xarray==0.15.1=py_0

However in the env:

conda list xarray
# packages in environment at C:\Users\bbate\Miniconda3\envs\keras-gpu-5:
#
# Name                    Version                   Build  Channel
xarray                    0.15.1                     py_0

What steps reproduce the problem?

  1. Working env (conda, Windows 10) with Spyder 4.1.4
  2. run conda install spyder=4.1.5
  3. error:
PackagesNotFoundError: The following packages are missing from the target environment:
  - conda-forge/noarch::xarray==0.15.1=py_0

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

Spyder should be updated to 4.1.5

Paste Traceback/Error Below (if applicable)


PackagesNotFoundError: The following packages are missing from the target environment:
  - conda-forge/noarch::xarray==0.15.1=py_0

Versions

  • Spyder version: 4.1.4
  • Python version: 3.7.6
  • Qt version: 5.9.6
  • PyQt version: 5.9.2
  • Operating System name/version: Windows 10

Dependencies

N/A

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
eafprescommented, Nov 6, 2020

Please be sure to install everything from pip or to avoid mixing pip and conda packages as much as possible. Else you’ll get odd errors and segfaults, which are Spyder’s fault.

Understood. I think I need to shift to an all-pip strategy, given I must use packages not in conda. What I try to do now is install as much as possible in conda then add needed things with pip at the end. However, it becomes hard to update those environments.

0reactions
ccordoba12commented, Nov 6, 2020

Please be sure to install everything from pip or to avoid mixing pip and conda packages as much as possible. Else you’ll get odd errors and segfaults, which are Spyder’s fault.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Anaconda Spyder 4.1.5 updates - Stack Overflow
The Anaconda page says to run 'conda install -c anaconda spyder' to install Spyder 4.1.5. link: Anaconda.org page On my linux machine this...
Read more >
Installation - Xarray
To run the test suite after installing xarray, install (via pypi or conda) py.test and run pytest in the root directory of the...
Read more >
Installation Guide — Spyder 5 documentation
Installation Guide¶. Spyder is relatively easy to install on Windows, Linux and macOS. Just make sure to read and follow these instructions with...
Read more >
Installation — xarray 0.8.0 documentation
The easiest way to get them installed is to use conda. You can then install xarray with its recommended dependencies with the conda...
Read more >
conda-forge - :: Anaconda.org
conda -forge ... anaconda-clean, 1.1.1, BSD-3-Clause, X, This module removes configuration files ... asyncstdlib, 3.10.5, MIT, X, The missing async toolbox.
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