Open tobeyond opened 2 years ago
Hi tobeyond!
It should, i haven't run it on Windows myself. The error you are getting is raised by the cardlib.py file (there are 3 copies of it in kuhn, hand_recognition and poker_env. direct link -> https://github.com/Morgan-Griffiths/PokerAI/blob/master/poker/utils/cardlib.py)
caused by this line ` if platform == "linux" or platform == "linux2":
lib = ctypes.cdll.LoadLibrary(path.join(release_dir, "librusteval.so"))
elif platform == "darwin":
lib = ctypes.cdll.LoadLibrary(path.join(release_dir, "librusteval.dylib"))
else: raise OSError('Unknown OS') `
When you built the poker hand evaluator in rust, what was the extension on the librusteval? Happy to fix this or merge a fix. I actually just started working on it again so you picked a perfect time :)
I'm getting
raise OSError('Unknown OS')