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 executable file opened on launch

See original GitHub issue

Problem Description

When I launch spyder from the command line, the spyder window launches with the previous state as is expected, then also opens the spyder executable file, in my case ~/anaconda3/bin/spyder.

What steps reproduce the problem?

  1. type spyder at the command line, hit enter

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

this file not to be opened at launch

Versions

  • Spyder version: 4.0.0b6 (was also happening with beta5)
  • Python version: Python 3.7.0 64-bit
  • Qt version: Qt 5.9.6
  • PyQt version: PyQt5 5.9.2
  • Operating System name/version: Darwin 19.0.0

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                :  1.4 (OK)
cython >=0.21                :  0.29.13 (OK)
IPython >=4.0                :  7.8.0 (OK)
matplotlib >=2.0.0           :  3.1.1 (OK)
pandas >=0.13.1              :  0.25.1 (OK)
numpy >=1.7                  :  1.17.2 (OK)
scipy >=0.17.0               :  1.3.1 (OK)
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:17 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Jan 12, 2021

This problem is already fixed (see PR #14564). If you’re using Conda-forge, you can get the fix by updating Spyder (I patched 4.2.1 with the changes in that PR). For pip or any other installation method, you’ll have to wait until 4.2.2 (to be released in February 15th) for it.

0reactions
richardmccallcommented, Jan 12, 2021

This seems to have reappeared after installing macOS Big Sur:

  • Spyder version: 4.2.1 None
  • Python version: 3.7.3 64-bit
  • Qt version: 5.12.8
  • PyQt5 version: 5.12.3
  • Operating System: Darwin 20.2.0
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get Spyder to open python scripts (.py files) directly ...
With the current version of Anaconda (4.1.0) you can simply right-click on a python script in Windows File Explorer and choose "Open with"....
Read more >
Troubleshooting — Anaconda documentation
Open the Anaconda or Miniconda installation folder and run the .exe file uninstaller from that location. Uninstallation will complete without prompting for ...
Read more >
Spyder crashes at launch: "python.exe has stopped working"
1. When spyder tried to load the file explorer at startup, it crashes 2. When spyder light tries to open the the working...
Read more >
Can't Launch Spyder After Installing Via Conda
However, I can't get Spyder to launch successfully from the .exe file in the Scripts folder in the cloned directory.
Read more >
Create Executable of Python Script using PyInstaller
To start, you may want to add Python to Windows path. ... To find the executable file, open the dist folder. You'll then...
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