启动内核时发生错误

时间:2019-07-16 18:30:56

标签: python anaconda spyder

由于某种原因,我的间谍无法工作了。启动间谍程序时,它将在控制台中显示以下错误消息

Traceback (most recent call last):
File "C:\Users\hp\Anaconda3\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "C:\Users\hp\Anaconda3\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\hp\Anaconda3\lib\site‑packages\spyder_kernels\console\__main__.py", line 11, in 
start.main()
File "C:\Users\hp\Anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 279, in main
import_spydercustomize()
File "C:\Users\hp\Anaconda3\lib\site‑packages\spyder_kernels\console\start.py", line 39, in import_spydercustomize
import spydercustomize
File "C:\Users\hp\Anaconda3\lib\site‑packages\spyder_kernels\customize\spydercustomize.py", line 19, in 
import pdb
File "C:\Users\hp\Anaconda3\lib\pdb.py", line 73, in 
import cmd
File "C:\Users\hp\Anaconda3\lib\cmd.py", line 50, in 
IDENTCHARS = string.ascii_letters + string.digits + '_'
AttributeError: module 'string' has no attribute 'ascii_letters'

0 个答案:

没有答案