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

无法生成总结 #7

Open
Nothingness-Void opened this issue Jan 19, 2021 · 2 comments
Open

无法生成总结 #7

Nothingness-Void opened this issue Jan 19, 2021 · 2 comments

Comments

@Nothingness-Void
Copy link

Prefix dict has been built successfully.
Traceback (most recent call last):
File "E:\bot\FG\cn\acmsmu\FG\DailyConclusion.py", line 94, in __generateWC
wc.to_file(os.path.join(os.getcwd(),'cn','acmsmu','FG','data','assets','wc',figName))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\wordcloud\wordcloud.py", line 706, in to_file
img.save(filename, optimize=True)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\PIL\Image.py", line 2131, in save
fp = builtins.open(filename, "w+b")
FileNotFoundError: [Errno 2] No such file or directory: 'E:\bot\FG\cn\acmsmu\FG\data\assets\wc\2021-01-1923-10-08-58.png'
Executing <Task pending name='Task-19' coro=<run_coroutine_job() running at C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\apscheduler\executors\base_py3.py:29> cb=[AsyncIOExecutor._do_submit_job..callback() at C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\apscheduler\executors\asyncio.py:39] created at C:\Users\Administrator\AppData\Local\Programs\Python\Python38\lib\site-packages\apscheduler\executors\asyncio.py:51> took 8.171 seconds

可以看出结巴分词还有算法中的连成文章部分成功了 但是WC生成失败了

@mgsky1
Copy link
Owner

mgsky1 commented Jan 20, 2021

确认一下E:\bot\FG\cn\acmsmu\FG\data\assets\wc这个路径是否存在

@Nothingness-Void
Copy link
Author

没有wc这个文件夹 我以为会自己创建来着 我再去试试

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