Here we successfully parse a PGN game:
import chess, chess.svg, chess.pgn, io game = chess.pgn.read_game(io.StringIO("1. e4 e5 2. Nf3 *")) print(gam