noword / image2sgf

recongnize go game status from a image, output to a sgf file
20 stars 4 forks source link

can't find the imgs.py under /gui directory #9

Closed linwenrui96 closed 8 months ago

linwenrui96 commented 8 months ago

Hi author of image2sgf,

This is very useful project. However, I'm looking for help to solve an issue when runing img2sgf.py.

from gui.main import *
import imgs
ModuleNotFoundError: No module named 'imgs'

I'm thinking there might be a imgs.py missing. Or do you have any idea why this is happening. I'm a newbie to python and would love help!

Bests, Wendy

noword commented 8 months ago

https://github.com/noword/image2sgf/blob/master/img2sgf.py

没有你说的代码

linwenrui96 commented 8 months ago

您好,是/gui/main.py 的第三行import imgs这里一直报错,所以我猜是需要一个imgs.py如果不是的话,您知道这个imgs package是哪里的subpackage么?谢谢你的回复Sent from Android deviceOn Mar 8, 2024 10:20, noword @.***> wrote: https://github.com/noword/image2sgf/blob/master/img2sgf.py 没有你说的代码

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

noword commented 8 months ago

执行pack_imgs.py,会生成imgs.py

linwenrui96 commented 8 months ago

Thank you. This issue was solved by running pack_imgs.py.