conda update spyder
(or pip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Today I updated my Mac to High Sierra, Anaconda to 1.8.4, and Spyder to version 3.2.8. Spyder continually crashes ~30 sec after opening.
After upgrading to High Sierra I tried updating Spyder using pip. I'm new to coding and didn't see until after I ran this that this can cause issues. Spyder continues to crash after opening. I've tried restarting my computer, deleting anaconda and the anaconda preferences file, reinstalling Anaconda, and restarting Spyder preferences. I've also ran "export EVENT_NOKQUEUE=1" in the terminal because it was a solution on a similar issue ticket, but this did not work for me.
Instead of not crashing I see "Spyder has encountered an internal problem" and the window crashes.
File "/anaconda3/lib/python3.6/site-packages/spyder/plugins/ipythonconsole.py", line 956, in update_working_directory
shellwidget.get_cwd()
File "/anaconda3/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 128, in get_cwd
self.silent_exec_method(code)
File "/anaconda3/lib/python3.6/site-packages/spyder/widgets/ipythonconsole/shell.py", line 341, in silent_exec_method
local_uuid = to_text_string(uuid.uuid1())
File "/anaconda3/lib/python3.6/uuid.py", line 606, in uuid1
clock_seq_hi_variant, clock_seq_low, node), version=1)
File "/anaconda3/lib/python3.6/uuid.py", line 168, in __init__
raise ValueError('field 6 out of range (need a 48-bit value)')
ValueError: field 6 out of range (need a 48-bit value)
Unable to find this
This solution worked for me: https://github.com/Azure/azure-cli/issues/5184
This is duplicate of issue #6335. To fix it you need to run in Terminal.app
conda update python python.app
This worked, thank you!
Most helpful comment
This is duplicate of issue #6335. To fix it you need to run in Terminal.app