Python Chess Library for Windows?

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

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
Norbert Raimund Leisner
Posts: 1601
Joined: Tue May 20, 2008 2:57 pm
Location: Augsburg - Germany

Python Chess Library for Windows?

Post by Norbert Raimund Leisner » Thu Dec 14, 2017 10:35 am

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: 259
Joined: Sat Apr 23, 2011 10:33 pm
Contact:

Re: Python Chess Library for Windows?

Post by tttony » Thu Dec 14, 2017 10:45 am

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: 1601
Joined: Tue May 20, 2008 2:57 pm
Location: Augsburg - Germany

Re: Python Chess Library for Windows?

Post by Norbert Raimund Leisner » Thu Dec 14, 2017 11:05 am

yes, but it is required for some engines written in Python

User avatar
hgm
Posts: 23725
Joined: Fri Mar 10, 2006 9:06 am
Location: Amsterdam
Full name: H G Muller
Contact:

Re: Python Chess Library for Windows?

Post by hgm » Thu Dec 14, 2017 11:12 am

Do Python programs have executables? I thought Python was an interpreted language.

tttony
Posts: 259
Joined: Sat Apr 23, 2011 10:33 pm
Contact:

Re: Python Chess Library for Windows?

Post by tttony » Thu Dec 14, 2017 1:59 pm

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

Post Reply