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

运行spider.py ,提示ImportError: attempted relative import with no known parent package,是为什么呢 #548

Open
linzz03 opened this issue Nov 24, 2023 · 2 comments
Labels
failed 程序运行出错 wontfix

Comments

@linzz03
Copy link

linzz03 commented Nov 24, 2023

为了更好的解决问题,请认真回答下面的问题。等到问题解决,请及时关闭本issue。

  • 问:请您指明哪个版本运行出错(github版/PyPi版/全部)?

答:全部

  • 问:您使用的是否是最新的程序(是/否)?

答:否

  • 问:爬取任意用户都会运行出错吗(是/否)?

答:是

  • 问:若只有爬特定微博时才出错,能否提供出错微博的weibo_id或url(非必填)?

答:

  • 问:若您已提供出错微博的weibo_id或url,可忽略此内容,否则能否提供出错账号的user_id及您配置的since_date,方便我们定位出错微博(非必填)?

答:

  • 问:如果方便,请您描述出错详情,最好附上错误提示。

答:
屏幕截图 2023-11-24 163314

@linzz03 linzz03 added the failed 程序运行出错 label Nov 24, 2023
@dataabc
Copy link
Owner

dataabc commented Nov 24, 2023

不要直接运行这个,运行__main__.py。

Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed 程序运行出错 wontfix
Projects
None yet
Development

No branches or pull requests

2 participants