Python Forum
[PyGUI] Unknown error: kernel process exited - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: [PyGUI] Unknown error: kernel process exited (/thread-991.html)



Unknown error: kernel process exited - MlleFidna - Nov-23-2016

Hello,
I recently install pyzo with anaconda. I install all the scientific package (and matplotlib) and start coding without any problems. But today the console give me this error:

Kernel process terminated for restart. (0) Invalid script file: "C:\Program Files (x86)\pyzo\LotkaVolterra.py" Traceback (most recent call last): File "C:\Program Files (x86)\pyzo\source\pyzo\pyzokernel\start.py", line 150, in <module> __pyzo__.run() File "C:\Program Files (x86)\pyzo\source\pyzo\pyzokernel\interpreter.py", line 217, in run self._prepare() File "C:\Program Files (x86)\pyzo\source\pyzo\pyzokernel\interpreter.py", line 262, in _prepare self._prepare_environment(startup_info) File "C:\Program Files (x86)\pyzo\source\pyzo\pyzokernel\interpreter.py", line 378, in _prepare_environment if scriptFilename.endswith('.ipynb'): AttributeError: 'NoneType' object has no attribute 'endswith' The kernel process exited. (1)

for every thing i try to do (even just print(2)... and another code that was working last week). It is not always exactly this form but always a kernel process exited. I reinstall everything and nothing work. Any ideas?
Thanks by advance,
MlleFidna


RE: Unknown error: kernel process exited - nilamo - Nov-29-2016

Error:
" line 378, in _prepare_environment if scriptFilename.endswith('.ipynb'): AttributeError: 'NoneType' object has no attribute 'endswith' "
Are you running this from the interpreter, or from a script?  It seems odd that "scriptFilename" would ever be None.