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.

Show "Spyder" instead of "python" in macOS menubar

See original GitHub issue

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)
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

The menubar on macOS shows “python” instead of “Spyder”.

Screen Shot 2020-12-11 at 10 26 21

What steps reproduce the problem?

  1. Start Spyder on macOS.
  2. Observe the app name in the menubar.

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

The name should be “Spyder” and not “python”.

Proposed solution

The app name can be set with pyobj-framework-cocoa. Here’s an example how I did it: https://github.com/cbrnr/mnelab/blob/master/mnelab/__main__.py#L16-L28

However, I’m not sure if Spyder already has other ways to set the name and if it’s just broken on my machine. Let me know if you’d like me to submit a PR.

Versions

  • Spyder version: 4.2.0
  • Python version: 3.8.6
  • Qt version: 5.12.9
  • PyQt version: 5.12.3
  • Operating System name/version: macOS Big Sur

Dependencies

``` # Mandatory: applaunchservices >=0.1.7 : 0.2.1 (OK) atomicwrites >=1.2.0 : 1.4.0 (OK) chardet >=2.0.0 : 3.0.4 (OK) cloudpickle >=0.5.0 : 1.6.0 (OK) diff_match_patch >=20181111 : 20200713 (OK) intervaltree >=3.0.2 : 3.0.2 (OK) IPython >=4.0 : 7.19.0 (OK) jedi =0.17.2 : 0.17.2 (OK) jsonschema >=3.2.0 : 3.2.0 (OK) nbconvert >=4.0 : 6.0.7 (OK) numpydoc >=0.6.0 : 1.1.0 (OK) parso =0.7.0 : 0.7.0 (OK) pexpect >=4.4.0 : 4.8.0 (OK) pickleshare >=0.4 : 0.7.5 (OK) psutil >=5.3 : 5.7.3 (OK) pygments >=2.0 : 2.7.3 (OK) pylint >=1.0 : 2.6.0 (OK) pyls >=0.36.1;<1.0.0 : 0.36.1 (OK) pyls_black >=0.4.6 : 0.4.6 (OK) pyls_spyder >=0.1.1 : 0.2.1 (OK) qdarkstyle >=2.8 : 2.8.1 (OK) qtawesome >=0.5.7 : 1.0.2 (OK) qtconsole >=4.7.7 : 5.0.1 (OK) qtpy >=1.5.0 : 1.9.0 (OK) rtree >=0.8.3 : 0.9.4 (OK) setuptools >=39.0.0 : 49.6.0.post20201009 (OK) sphinx >=0.6.6 : 3.3.1 (OK) spyder_kernels >=1.10.0;<1.11.0 : 1.10.0 (OK) three_merge >=0.1.1 : 0.1.1 (OK) watchdog >=0.10.3 : 1.0.1 (OK) zmq >=17 : 20.0.0 (OK)

Optional:

cython >=0.21 : None (NOK) matplotlib >=2.0.0 : None (NOK) numpy >=1.7 : None (NOK) pandas >=1.1.1 : None (NOK) scipy >=0.17.0 : None (NOK) sympy >=0.7.3 : None (NOK)

</details>

Issue Analytics

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

github_iconTop GitHub Comments

3reactions
ccordoba12commented, Dec 11, 2020

Thanks for the suggestion @cbrnr! We’ll do it for our 4.2.2 version (to be released in two months).

0reactions
cbrnrcommented, Aug 11, 2022

I’m closing this because the recommended way to install Spyder is to use the standalone installers, where this works out of the box. My workaround is also just a hack.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Frequently Asked Questions — Spyder 5 documentation
From the command line: Type spyder in your terminal (or Anaconda prompt on Windows). · From Anaconda Navigator: Scroll to Spyder under Home,...
Read more >
macos - Ways to invoke python and Spyder on OSX
First make sure that the content of spyder.app/Contents/MacOS/spyder reads ... right-click the spyder.app created above and select "Show Package Contents".
Read more >
Plotting with Matplotlib — Geo-Python 2017 Autumn ...
Start by opening the Spyder preferences. Mac users can go to python -> Preferences... in the menubar · In the Preferences window, click...
Read more >
PySimpleGUI
I've been teaching it in my Python classes instead of Tkinter." "I wish PySimpleGUI was available ... Why can't it be 2 lines...
Read more >
Python and PyQt: Building a GUI Desktop Calculator
Remember that macOS shows the Exit or Quit option under the app's entry on the top of the screen. When you run 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