Debugger提示错误怎么解决?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | D:\python - project\venv\Scripts\python.exe "D:\JetBrains\PyCharm Community Edition 2019.1.2\helpers\pydev\pydevd.py" - - multiproc - - qt - support = auto - - client 127.0 . 0.1 - - port 56834 - - file D: / python - project / loop / 1000 以内的质数.py Traceback (most recent call last): Hello World!Nice to meet you File "D:\JetBrains\PyCharm Community Edition 2019.1.2\helpers\pydev\pydevd.py" , line 15 , in <module> my886 from _pydevd_bundle.pydevd_constants import IS_JYTH_LESS25, IS_PY34_OR_GREATER, IS_PY36_OR_GREATER, IS_PYCHARM, get_thread_id, \ BMW File "D:\JetBrains\PyCharm Community Edition 2019.1.2\helpers\pydev\_pydevd_bundle\pydevd_constants.py" , line 169 , in <module> BMW from _pydev_imps._pydev_saved_modules import thread bmw How are you File "D:\JetBrains\PyCharm Community Edition 2019.1.2\helpers\pydev\_pydev_imps\_pydev_saved_modules.py" , line 21 , in <module> Michael Jackson import xmlrpc.client as xmlrpclib ABCdef File "D:\Python37\lib\xmlrpc\client.py" , line 136 , in <module> 姓名 性别 年龄 import http.client File "D:\Python37\lib\http\client.py" , line 71 , in <module> import email.parser 赵四 男士 42 File "D:\Python37\lib\email\parser.py" , line 12 , in <module> hello world from email.feedparser import FeedParser, BytesFeedParser 17 File "D:\Python37\lib\email\feedparser.py" , line 27 , in <module> hello world from email._policybase import compat32 11 File "D:\Python37\lib\email\_policybase.py" , line 7 , in <module> - 1 from email import header True File "D:\Python37\lib\email\header.py" , line 16 , in <module> thwas was string example...wow111 thwas was really string import email.quoprimime this is string example...wow111 this is really string File "D:\Python37\lib\email\quoprimime.py" , line 44 , in <module> from string import ascii_letters, digits, hexdigits ImportError: cannot import name 'ascii_letters' from 'string' (D:\python - project\string.py) Process finished with exit code 1 |
12
收起
正在回答 回答被采纳积分+1
1回答
1.Python零基础入门
- 参与学习 人
- 提交作业 2727 份
- 解答问题 8160 个
想要进入Python Web、爬虫、人工智能等高薪领域,你需要掌握本阶段的Python基础知识,课程安排带你高效学习轻松入门,学完你也能听得懂Python工程师的行业梗。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧