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

Failed to execute script play_games #43

Open
lsplsplsp1111 opened this issue Mar 13, 2020 · 2 comments
Open

Failed to execute script play_games #43

lsplsplsp1111 opened this issue Mar 13, 2020 · 2 comments

Comments

@lsplsplsp1111
Copy link

Traceback (most recent call last):
File "play_games.py", line 43, in
File "cchess_alphazero\play_games\play.py", line 37, in start
File "cchess_alphazero\play_games\play.py", line 107, in start
File "cchess_alphazero\play_games\play.py", line 82, in init_screen
OSError: unable to read font file 'D:\桌面的文件\play_games-gpu-cuda8\play_games\cchess_alphazero\play_games\PingFang.ttc'
[13948] Failed to execute script play_games

@liuxilu
Copy link

liuxilu commented Mar 13, 2020

READ THE README

Note: Before you start, you need to download/find a font file (.ttc) and rename it as PingFang.ttc, then put it into cchess_alphazero/play_games. I have removed the font file from this repo because it's too big, but you can download it from here.

@zhangshuhui241
Copy link

不一定需要专门下载ttc文件。大多数人的/windows/fonts/目录下就有.ttc文件,我就是在这里面随便找了一个mingliu.ttc的文件,拷贝到/cchess_alphazero/play_games目录下,然后改名为PingFang.ttc,就可以正常运行了

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

3 participants