nneonneo / 2048-ai

AI for the 2048 game
MIT License
1.09k stars 279 forks source link

Error while trying to run program through Chrome browser #61

Closed googolplexxx closed 4 years ago

googolplexxx commented 4 years ago

Hi, I'm getting this error when i try to run "python 2048.py -b chrome" in anaconda prompt. image I don't know what is it, please help me to solve this issue.

nneonneo commented 4 years ago

The most likely cause is that your Python and the 2048 DLL were compiled with different compilers, or with different “bit ness” (e.g. Python is 32-bit while 2048.dll is 64-bit, or vice-versa). You can try fixing the issue by recompiling using a different set of command-line tools.

You can check your Python’s bit-ness by running python -c 'import struct; print( 8 * struct.calcsize("P"))'. This will print 32 on a 32-bit Python and 64 on a 64-bit Python.