Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated installation instructions #17

Open
ghost opened this issue Oct 20, 2017 · 0 comments
Open

Updated installation instructions #17

ghost opened this issue Oct 20, 2017 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 20, 2017

I've only started playing with the code (ran play.py but now more focused on the blog post), but here are my installation steps. I hope this helps someone.

This all assumes you have Anaconda installed on your machine and use Linux.

If you normally use Python 3, create a new environment for Python 2.7:

conda create -n python2 python=2.7

Environments are like alternate Python installations you can step into whenever you need to. Whenever you want to use the 2.7 environment, use

source activate python2

When installing packages and running deep-pink, make sure you're in a python 2.7 environment. Some of the dependencies can be installed with Anaconda:

conda install theano scikit-learn h5py

python-chess you can get through pip (will work through Anaconda):

pip install python-chess

Getting Sunfish is a little weirder, since I couldn't get conda or pip to get it. Instead, I cloned the repo git clone https://github.com/thomasahle/sunfish and just copied sunfish.py from it into deep-pink's directory. According the Sunfish's readme.md, it's self-contained in that one script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants