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ó:
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
--
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 [email protected]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/6ee2c197-8168-415e-a3ed-446c55db0995%40googlegroups.com
<https://groups.google.com/d/msgid/spyderlib/6ee2c197-8168-415e-a3ed-446c55db0995%40googlegroups.com?utm_medium=email&utm_source=footer>.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/spyderlib/3ab0d006-4fef-1dbc-2c7a-0c84287578bc%40gmail.com.