Page 1 of 1

Python Chess Library for Windows?

Posted: Thu Dec 14, 2017 11:35 am
by Norbert Raimund Leisner
Hello,

can anyone of you build a Windows executable version for 32 or 64 bit please?

https://github.com/niklasf/python-chess

https://github.com/niklasf/python-chess/releases

Only the source code is there available.

Best wishes,
Norbert

Re: Python Chess Library for Windows?

Posted: Thu Dec 14, 2017 11:45 am
by tttony
It's not a chess engine
python-chess is a pure Python chess library with move generation, move validation and support for common formats

Re: Python Chess Library for Windows?

Posted: Thu Dec 14, 2017 12:05 pm
by Norbert Raimund Leisner
yes, but it is required for some engines written in Python

Re: Python Chess Library for Windows?

Posted: Thu Dec 14, 2017 12:12 pm
by hgm
Do Python programs have executables? I thought Python was an interpreted language.

Re: Python Chess Library for Windows?

Posted: Thu Dec 14, 2017 2:59 pm
by tttony
Norbert Raimund Leisner wrote:yes, but it is required for some engines written in Python
Then what you need is download the library, not compile it, you already have python installed (https://www.python.org/downloads/windows/) so just run this command to install the library

Code: Select all

pip install python-chess[engine,gaviota]
That's all
hgm wrote:Do Python programs have executables? I thought Python was an interpreted language.
Yes, https://askubuntu.com/questions/324871/ ... ython-file, I think LucasChess it's compiled like that