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

执行生成脚本时报错 #4

Closed
raawaa opened this issue Nov 30, 2021 · 1 comment · Fixed by #5
Closed

执行生成脚本时报错 #4

raawaa opened this issue Nov 30, 2021 · 1 comment · Fixed by #5
Labels
bug Something isn't working

Comments

@raawaa
Copy link
Contributor

raawaa commented Nov 30, 2021

安装依赖,执行脚本后报错

   pip3 install -r scripts/requirements.txt
   python3 scripts/generate.py

主要报了两个错误:

  1. 无法找到scripts这个module:我自己把多个脚本里import语句里的scripts.前缀删掉之后就解决了。
  2. 执行过程中无法找到emoji_all.html这个文件:发现这是运行脚本时工作目录的问题,在scripts目录下直接运行就没问题了,如下
# 在scripts目录下
python3 generate.py

麻烦看一下,是不是需要修改一下相关代码和README。

@yuhangch
Copy link
Owner

感谢反馈,问题确实存在,🤦‍♂️回去处理。

@yuhangch yuhangch added the bug Something isn't working label Nov 30, 2021
@yuhangch yuhangch linked a pull request Nov 30, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants