michalsustr / spielviz

SpielViz is an interactive viewer for OpenSpiel games.
GNU Lesser General Public License v3.0
28 stars 3 forks source link

How to hook this up to pyspiel? #2

Open VitamintK opened 3 years ago

VitamintK commented 3 years ago

Tried installing this using pip install -e ., but got the error

ERROR: Could not find a version that satisfies the requirement pyspiel (from spielviz)
ERROR: No matching distribution found for pyspiel

Initially I had openspiel installed from pypi, and I also tried installing openspiel from source, but didn't seem to resolve the issue.

When I pip list I see open-spiel but no pyspiel.

VitamintK commented 3 years ago

FWIW, I just deleted the pyspiel requirement from setup.py and I think the installation worked 🤷‍♂️ I'm on mac OS, by the way -- could be a probable cause?

VitamintK commented 3 years ago

Probably didn't go about this the best way, but here's what I did to get everything working on Mac OS

brew install pygobject3 gtk+3
brew install graphviz

pip install pgi <--- not sure if I needed to do this?
conda install -c conda-forge pygobject
conda install -c conda-forge gtk3
pip install pygraphviz