I stupidly tried to read a massive .bin file in Python, which resulted in the laptop freezing, so I had to force shut down the laptop entirely.
After that, Spyder does not start - I get a 'Spyder crashed during last session' message. I tried reinstalling Anaconda, I tried updating Spyder, I tried resetting Spyder, I tried restarting the laptop. Absolutely nothing works. Qt Console and Powershell open successfully.
Any ideas what else I can try?
For anyone who might encounter this, I solved the problem by following the advice from here:
https://github.com/spyder-ide/spyder/issues/3868
More specifically, I deinstalled Anaconda, cleared the Roaming/.anaconda directory, re-installed Anaconda again, and updated Spyder again using conda update Spyder in the Anaconda Prompt.
Related
I am trying to open an .ipynb-file to the kernel in Jupyter notebook. It opens but it fails to connect, I tried it both via Python and with Anaconda.
When I open a .py-file it works fine for both Anaconda and via Python, it connects to the kernel and I can work with it.
Just the file with R doesn't work. It also happened very suddenly. I was working on a file in Jupyter, then I made a copy of that file, because I wanted to make some changes and this file wasn't connecting to the kernel. Then I tried to write on the first file and this one also wasn't connecting anymore.
I also deleted that copy I made, but still it doesn't work.
I uninstalled both Anaconda and Python and installed the newest versions. No change. Still no connecting to the kernel.
Any idea is very much appreciated :)
Updating R solved the issue :) damn I'm so stupid
I don't know how to repair the error. Every time I open Spyder the warnings shows up and restarting the aplication doesn't solve the problem.
If you can help me I would appreciate it.
Spyder Completion Warning
Disabling the firewall and antivirus didn't work for me. I was able to fix this issue by resetting Spyder. In the Anaconda prompt, enter:
spyder --reset
As the dialog says you need to check your firewall or antivirus since probably one of them is stopping/preventing the launching of the process that Spyder uses to provide completions and linting. To check if either your firewall or antivirus is causing the problem you could try to deactivate/disable them temporarly and try to launch Spyder again. If that helps then you need to create rules to allow Python processes.
Another option, if you are ok without having those services (completion and linting), is to ignore this message and select the Don't show again checkbox to prevent seen it again.
For more details regarding completion and linting services that Spyder provides you can check the documentation here:
For Spyder 4: https://docs.spyder-ide.org/4/faq.html#troubleshooting-completion
For SPyder 5: https://docs.spyder-ide.org/5/faq.html#troubleshooting-completion
In my case the error was caused by incompatible versions and fixed by (here for Python 3.10)
python3.10 -m pip install -U python-language-server
I have recently updated Anaconda and Spyder.
However, once I opened Spyder within Anaconda, I got an issue with Spyder.
Command Prompt (cmd) is running while I open Spyder (picture is attached).
The problem is that when I close the cmd window Spyder is crashing.
Can someone help me with fixing this issue?
Thanks
P.S. I have to note that no similar issue is noticed when Spyder is running not within Anaconda
Detach the Spyder process from the console. On windows, this can be accomplished with the command start.
start \path_to_python\Scripts\spyder.exe
Reset the configuration:
File > Preferences > Configure navegator / Configure conda > Reset to defaults
If you have "Kite" installed, try to remove it. And Reset again
I'm running Python 3.8 (Anaconda) on Windows 10 and have previously not had any issues launching Jupyter Notebooks. Today that changed: When I tried to launch it from the Anaconda Navigator, it suggested that it launched it but didn't open anything in my default browser (Chrome), so nothing really happened. Also, not terminal prompt was launched. When I tried launching it from the command line, typing both jupyter notebook and jupyter-notebook it launches the notbook but only in the background (ie. it provides a link that I need to copy into my browser). I find this quite strange and am trying to understand what's going on. My hunch is that it's some kind of Windows related issue but I'd like to know what issue.
So my question is what can explain this behaviour? And assuming that this is related to some strange Windows issue, I'd be keen to find out what it is.
I replicated the exact steps I used to always launch it (which worked), so this shouldn't be anything to do with the setup.
Cheers!
Anaconda navigator suddenly won't open. I don't get an error or anything, it starts initializing and then disappears... nothing opens, no error. I can still launch Jupyter Notebook separately, but am also now unable to read in data directly from a URL. The kernel "dies" and prompts a restart. I have read through similar questions, tried updating conda, tried re-installing the navigator.... nothing works! HELP!!
Also if this makes a difference I am using Windows 10