程序可以运行。但是尝试调试时候,没有调试当前程序段,而是出现了一堆安装包里面的错误
F:\python-project\venv\Scripts\python.exe "E:\JetBrains\PyCharm Community Edition 2018.2.4\helpers\pydev\pydevd.py" --multiproc --qt-support=pyside --client 127.0.0.1 --port 64620 --file F:/python-project/lower.py
Hello World!Nice to meet you
Traceback (most recent call last):
MF8765
File "E:\JetBrains\PyCharm Community Edition 2018.2.4\helpers\pydev\pydevd.py", line 15, in <module>
Hello,
python!
from _pydevd_bundle.pydevd_constants import IS_JYTH_LESS25, IS_PY3K, IS_PY34_OR_GREATER, IS_PYCHARM, get_thread_id, \
Hello,
python!
File "E:\JetBrains\PyCharm Community Edition 2018.2.4\helpers\pydev\_pydevd_bundle\pydevd_constants.py", line 168, in <module>
hello Python
from _pydev_imps._pydev_saved_modules import thread
拼接后的字符串为: Hello2020
File "E:\JetBrains\PyCharm Community Edition 2018.2.4\helpers\pydev\_pydev_imps\_pydev_saved_modules.py", line 21, in <module>
拼接后的字符串为:Hello2020
import xmlrpc.client as xmlrpclib
姓名 性别 年龄
File "E:\Python37\lib\xmlrpc\client.py", line 136, in <module>
赵四 男士 42
import http.client
hello world
File "E:\Python37\lib\http\client.py", line 71, in <module>
17
import email.parser
11
File "E:\Python37\lib\email\parser.py", line 12, in <module>
-1
from email.feedparser import FeedParser, BytesFeedParser
True
File "E:\Python37\lib\email\feedparser.py", line 27, in <module>
thwas was string example...wow!!! thwas was really string
from email._policybase import compat32
thwas was string example...wow!!! thwas is really string
File "E:\Python37\lib\email\_policybase.py", line 7, in <module>
拼接后的字符串为:Hello2020
from email import header
File "E:\Python37\lib\email\header.py", line 16, in <module>
import email.quoprimime
File "E:\Python37\lib\email\quoprimime.py", line 44, in <module>
from string import ascii_letters, digits, hexdigits
ImportError: cannot import name 'ascii_letters' from 'string' (F:\python-project\string.py)
Process finished with exit code 1
正在回答 回答被采纳积分+1
- 参与学习 人
- 提交作业 2727 份
- 解答问题 8160 个
想要进入Python Web、爬虫、人工智能等高薪领域,你需要掌握本阶段的Python基础知识,课程安排带你高效学习轻松入门,学完你也能听得懂Python工程师的行业梗。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星