I have a problem with the Spyder software of Python(version 4.0.1) regarding the running kernels in the IPython Console. Accordingly, I have tried many ways to resolve the issue like running some commands in Anaconda prompt or set the settings to the default mode. I even updated the version of my anaconda and the spyder. Nevertheless, nothing has been changed and the issue still exists.
This is the error I am receiving:
Traceback (most recent call last): File
"C:ProgramDataAnaconda3lib
unpy.py", line 193, in
_run_module_as_main "main", mod_spec) File "C:ProgramDataAnaconda3lib
unpy.py", line 85, in _run_code
exec(code, run_globals) File
"C:ProgramDataAnaconda3libsite?packagesspyder_kernelsconsole__main__.py",
line 11, in start.main() File
"C:ProgramDataAnaconda3libsite?packagesspyder_kernelsconsolestart.py",
line 287, in main import_spydercustomize() File
"C:ProgramDataAnaconda3libsite?packagesspyder_kernelsconsolestart.py",
line 39, in import_spydercustomize import spydercustomize File
"C:ProgramDataAnaconda3libsite?packagesspyder_kernelscustomizespydercustomize.py",
line 24, in from IPython.core.getipython import get_ipython File
"C:ProgramDataAnaconda3libsite?packagesIPython__init__.py", line
56, in from .terminal.embed import embed File
"C:ProgramDataAnaconda3libsite?packagesIPythonerminalembed.py",
line 14, in from IPython.core.magic import Magics, magics_class,
line_magic File
"C:ProgramDataAnaconda3libsite?packagesIPythoncoremagic.py",
line 20, in from . import oinspect File
"C:ProgramDataAnaconda3libsite?packagesIPythoncoreoinspect.py",
line 30, in from IPython.lib.pretty import pretty File
"C:ProgramDataAnaconda3libsite?packagesIPythonlibpretty.py",
line 82, in import datetime File "C:Usersmahkamdatetime.py", line
4 ^ SyntaxError: EOF while scanning triple?quoted string literal
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…