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

关于pyd文件,使用报错情况 #1

Closed
tianshanzhilong opened this issue Mar 19, 2021 · 7 comments
Closed

关于pyd文件,使用报错情况 #1

tianshanzhilong opened this issue Mar 19, 2021 · 7 comments

Comments

@tianshanzhilong
Copy link

python运行报错情况

请教这个报错情况,要如何解决,谢谢
@tianshanzhilong tianshanzhilong changed the title 关于pyd文件,使用报错电平 关于pyd文件,使用报错情况 Mar 19, 2021
@inspurer
Copy link
Member

具体报什么错误

@tianshanzhilong
Copy link
Author

tianshanzhilong commented Mar 21, 2021 via email

@inspurer
Copy link
Member

你把这个 runner.py 放到 tencent_news_spider 文件夹里去,最好用 pycharm,idle 不一定能识别出

@tianshanzhilong
Copy link
Author

tianshanzhilong commented Mar 21, 2021 via email

@inspurer
Copy link
Member


from tencent_news_spider import main
main()
试试

再不行就百度一下 pycharm add source root

@inspurer inspurer reopened this Mar 21, 2021
@tianshanzhilong
Copy link
Author

tianshanzhilong commented Mar 21, 2021 via email

@inspurer
Copy link
Member

可以看下这个 #4

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

2 participants