Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

missing parentheses in call to 'print'. #15

Open
ENDCOVID2022 opened this issue Dec 15, 2021 · 1 comment
Open

missing parentheses in call to 'print'. #15

ENDCOVID2022 opened this issue Dec 15, 2021 · 1 comment

Comments

@ENDCOVID2022
Copy link

Python 3 运行的报错

@ENDCOVID2022
Copy link
Author

利用 2to3 解决,之后报错

Traceback (most recent call last):
File "J:\Python_QA-Snake-master\QA\mainprogram.py", line 5, in
from .QA.QACrawler import baike
File "J:\Python_QA-Snake-master\QA\mainprogram.py", line 6, in
from .QA.Tools import Html_Tools as QAT
ImportError: attempted relative import with no known parent package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant