NeymarL / ChineseChess-AlphaZero

Implement AlphaZero/AlphaGo Zero methods on Chinese chess.
https://cczero.org
GNU General Public License v3.0
1.08k stars 344 forks source link

Failed to execute script play_games #43

Open lsplsplsp1111 opened 4 years ago

lsplsplsp1111 commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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