I get an error bad_weak_ptr when I try to use python games with C++ CFR. I'm 99% sure this used to work, but sometime over the past half-year it stopped working.
Tested on both Mac OS and Ubuntu with a fresh install:
>>> import pyspiel
>>> from open_spiel.python.games import kuhn_poker
>>> pyspiel.CFRSolver(kuhn_poker.KuhnPokerGame())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: bad_weak_ptr
>>> pyspiel.CFRSolver(pyspiel.load_game("python_kuhn_poker"))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: bad_weak_ptr