Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve spyder-kernels installation message #15420

Closed
3 of 10 tasks
ghost opened this issue Apr 25, 2021 · 4 comments
Closed
3 of 10 tasks

Improve spyder-kernels installation message #15420

ghost opened this issue Apr 25, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 25, 2021

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

When I install Spyder 5.0.1 Spyder.dmg on Mac BigSur and I try to change the environment to the conda installation I get:

Your Python environment or installation doesn't have the spyder‑kernels module or the right version 
of it installed (>= 2.0.1 and < 2.1.0). Without this module is not possible for Spyder to create a console 
for you.

You can install it by running in a system terminal:

conda install spyder‑kernels

or

pip install spyder‑kernels

I already have spyder-kernels and installing with conda doesn't change anything.

What steps reproduce the problem?

  1. Use Spyder.dmg installer
  2. Change to conda python as the interpreter /Users/brian/anaconda3/bin/python

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

In my Spyder4 version I installed with conda initially after Anaconda installation I can change to the conda env as well as any other conda venv and it works fine.

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

  • Spyder version:
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Dependencies

PASTE DEPENDENCIES HERE
@ccordoba12
Copy link
Member

Our instructions are not quite explicit about what you need to do. Please run instead:

conda install spyder-kernels=2.0.1

If that gives you an error, please run first

conda update anaconda

@ccordoba12 ccordoba12 changed the title Spyder.dmg version doesn't work with conda python Improve spyder-kernels installation message Apr 25, 2021
@ccordoba12 ccordoba12 self-assigned this Apr 25, 2021
@ccordoba12 ccordoba12 added this to the v5.0.2 milestone Apr 25, 2021
@ghost
Copy link
Author

ghost commented Apr 25, 2021

great worked with reinstall of Spyder.dmg!

@ghost ghost closed this as completed Apr 25, 2021
@ghost
Copy link
Author

ghost commented Apr 25, 2021

Shoot didn't mean to close if you want to update message in console

@ghost ghost reopened this Apr 25, 2021
@ccordoba12
Copy link
Member

Yeah, thanks @bolton-lab for reopening it! I'll update that message with more explicit instructions for our next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant