Spyder not launching when Kite installation is faulty
See original GitHub issueIssue 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
(orpip
, 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
Spyder crashing upon startup.
I have just installed anaconda3 on this computer (a first time install), and updated anaconda and spyder to the newest versions. Initially it worked fine, but having forgotten numpy, I closed down, and installed it. When trying to open spyder4 again it would not work. I have restarted my pc, uninstalled and reinstalled anaconda and spyder a few times, and never have I gotten spyder to open again.
What steps reproduce the problem?
- Fresh install of conda from website (64-Bit Graphical Installer for python 3.7)
- In the conda prompt write
conda update anaconda
followed byconda install spyder=4.0.1
(Note to 2: When updating anaconda it’ll post some debugging lines, and when installing spyder it’ll fail with initial frozen solve to solve the environment and commence debugging at the end - see screenshots for all) - Run
spyder --reset
- Launch spyder
What is the expected output? What do you see instead?
Pops up with the traceback instead of opening spyder.
Paste Traceback/Error Below (if applicable)
Traceback (most recent call last):
File "F:\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 3718, in main
mainwindow = run_spyder(app, options, args)
File "F:\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 3559, in run_spyder
main.setup()
File "F:\Anaconda\lib\site-packages\spyder\app\mainwindow.py", line 960, in setup
self.completions.start()
File "F:\Anaconda\lib\site-packages\spyder\plugins\completion\plugin.py", line 292, in start
client_info['plugin'].start()
File "F:\Anaconda\lib\site-packages\spyder\plugins\completion\kite\plugin.py", line 141, in start
self.kite_process = run_program(path)
File "F:\Anaconda\lib\site-packages\spyder\utils\programs.py", line 214, in run_program
return subprocess.Popen(fullcmd, **subprocess_kwargs)
File "F:\Anaconda\lib\subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "F:\Anaconda\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
OSError: [WinError 193] %1 is not a valid Win32 application
Versions
- Spyder version: 4.0.1
- Python version: 3.7.4 (also tried 3.7.6 with no change)
- Qt version: 5.9.7
- PyQt version: 5.9.2
- Operating System name/version: Windows 10
Dependencies
I'm assuming this is if spyder is launchable - which it isn't for me. (cannot find this)
Pictures of prompt window (from note to 2)
Issue Analytics
- State:
- Created 4 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
anaconda - Spyder 5 won't launch - Stack Overflow
Uninstalling (through Windows menu) Spyder and reinstalling it in the Anaconda prompt; Installing Spyder 4 again conda install spyder=4.0.0 .
Read more >First Steps — Spyder 5 documentation
If the problem lies with your specific install, uninstalling and clean-reinstalling the Anaconda distribution is strongly recommended. As the other methods of ...
Read more >[jammy] spyder does not start because of kite install widget
On clean install, python3-spyder crashes on startup. This is caused by a float variable which should be an integer in file ...
Read more >Trying to get kite working on spyder : r/learnpython
In the kite copilot : it shows that it has installed the editor plugins for pycharm and vscode (which both work), but does...
Read more >spyder-ide/public - Gitter
Hi everyone, I just installed Spyder, but the kernel doesn't start. ... Raf I agree Kite is not very good for using on...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Alright, thanks a lot. Spyder works again.
Definitely, please open a PR for that.