Skip to content

Unable show environment name correctly on spyder notebook #475

Open
@hawkiyc

Description

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

I installed Spyder and spyder-notebook in Conda base env on my Linux device, and access other python environments with spyder-kernel. The editor is running smoothly. But for Spyder Notebook, it unable to show environment name correctly. And I have to blind test each env till correct one. Here is the screenshot for select the python environment, as you can see, all env show "Python3 (Spyder)".

截圖 2024-10-15 17 55 11

I am sure that I set ipykernel correctly. Because it shows normally on jupyrt lab and jupyter notebook as following screenshot.

截圖 2024-10-15 17 56 23

截圖 2024-10-15 18 32 46

What steps reproduce the problem?

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

Paste Traceback/Error Below (if applicable)

PASTE TRACEBACK HERE

Versions

  • Spyder version: 5.5.1
  • Python version: Python 3.12.2
  • Qt version: 5.15.2
  • PyQt version: PyQt5 5.15.10
  • Operating System name/version: ubuntu 22.04

Dependencies

PASTE DEPENDENCIES HERE

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions