AlignmentResearch / polygames

MIT License
0 stars 1 forks source link

Python can't import polygames or mcts, but can import tube. #12

Closed nikihowe closed 1 year ago

nikihowe commented 1 year ago

Python 3.10.6 (main, Nov 14 2022, 16:10:14) [GCC 11.3.0] on linux Type "help", "copyright", "credits" or "license" for more information.

import pypolygames import tube import polygames Traceback (most recent call last): File "", line 1, in ImportError: generic_type: type "ForwardPlayer" referenced unknown base type "core::ActorPlayer" import mcts Traceback (most recent call last): File "", line 1, in ImportError: generic_type: type "MctsPlayer" has a non-default holder type while its base "core::ActorPlayer" does not

rhaps0dy commented 1 year ago

Very strange, I've imported it in this order and it worked.

Make sure to export PYTHONPATH=/polygames before

nikihowe commented 1 year ago

Strange, it works for me too on 4cf3f4a