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

无控制台编译出错 #123

Closed
Tehile opened this issue Jul 10, 2023 · 2 comments
Closed

无控制台编译出错 #123

Tehile opened this issue Jul 10, 2023 · 2 comments

Comments

@Tehile
Copy link

Tehile commented Jul 10, 2023

操作系统信息

WINDOWS 10
PYTHON 3.11

错误描述

从云盘中下载文件,代码如下:
ali.download_file(file_id=file.file_id, local_folder='.')

出错信息:
'NoneType' object has no attribute 'write'
截图

在编译器以及显示控制台时可以正常运行,但无控制台编译后无法运行

@lemisky
Copy link
Member

lemisky commented Jul 10, 2023

你尝试将库中 tqdm 相关代码全部注释试试

@Tehile
Copy link
Author

Tehile commented Jul 11, 2023

问题已解决,感谢大佬回复!

@Tehile Tehile closed this as completed Jul 11, 2023
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