An error ocurred while starting the kernel

20 views
Skip to first unread message

Omkar Yadav

unread,
Apr 1, 2020, 11:29:57 AM4/1/20
to spyder
I am geting the below error can you help me to slove this?


Traceback (most recent call last):
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\site‑packages\spyder_kernels\console\__main__.py", line 11, in 
start.main()
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 287, in main
import_spydercustomize()
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 39, in import_spydercustomize
import spydercustomize
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\site‑packages\spyder_kernels\customize\spydercustomize.py", line 27, in 
from IPython.core.getipython import get_ipython
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\site‑packages\IPython\__init__.py", line 54, in 
from .core.application import Application
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\site‑packages\IPython\core\application.py", line 23, in 
from traitlets.config.application import Application, catch_config_error
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\site‑packages\traitlets\config\__init__.py", line 6, in 
from .application import *
File "C:\Users\domkar\AppData\Local\Continuum\anaconda3\lib\site‑packages\traitlets\config\application.py", line 10, in 
import json
File "C:\Users\domkar\json.py", line 37
return list(name=self.table_name, type = "datatable", path = filename=self.filename,
^
SyntaxError: invalid syntax

Carlos Córdoba

unread,
Apr 1, 2020, 11:39:04 AM4/1/20
to spyd...@googlegroups.com
Hi,

You need to remove or rename this file

C:\Users\domkar\json.py

to fix this error. The problem is that file has the same name of an internal Python module.


Cheers,
Carlos

El 27/03/20 a las 3:22 a. m., Omkar Yadav escribió:
--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/6ee2c197-8168-415e-a3ed-446c55db0995%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages