Python Chess Library for Windows?

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Python Chess Library for Windows?

Post 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
tttony
Posts: 268
Joined: Sun Apr 24, 2011 12:33 am

Re: Python Chess Library for Windows?

Post 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
Norbert Raimund Leisner
Posts: 1643
Joined: Tue May 20, 2008 4:57 pm
Location: Augsburg - Germany

Re: Python Chess Library for Windows?

Post by Norbert Raimund Leisner »

yes, but it is required for some engines written in Python
User avatar
hgm
Posts: 27787
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Python Chess Library for Windows?

Post by hgm »

Do Python programs have executables? I thought Python was an interpreted language.
tttony
Posts: 268
Joined: Sun Apr 24, 2011 12:33 am

Re: Python Chess Library for Windows?

Post 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