open_spiel: higc referee_test fails: No module named 'numpy'
When attempting to install latest master open_spiel, I ran into the following failed test:
Starting players.
Bot#0: /Users/kevin/github/open_spiel_fork/open_spiel/higc/bots/random_bot_py.sh
Bot#1: /Users/kevin/github/open_spiel_fork/open_spiel/higc/bots/test_bot_start.sh
Bot#0: Traceback (most recent call last):
File "/Users/kevin/github/open_spiel_fork/open_spiel/higc/bots/random_bot.py", line 19, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Bot#0 did not respond 'ready'
Bot#0 response was: ''
Bot#0 also timed out.
Bot#1 ready ok.
Could not start all players correctly, cannot play the tournament.
Spiel Fatal Error: /Users/kevin/github/open_spiel_fork/open_spiel/higc/referee_test.cc:131 results->num_matches() == 1
results->num_matches() = 0, 1 = 1
I followed the steps
./install.sh pip3 install -r requirements.txt ./open_spiel/scripts/build_and_run_tests.sh
I have numpy installed on the python I’m using, as well as my system’s python, so I’m not sure why this is happening.
I can disable the test to move forward, but I’m filing this issue here in case anyone else experiences this or knows how to fix it.
cc: @michalsustr
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 21 (5 by maintainers)
Commits related to this issue
- Exclude higc_referee_test until we fix #715 — committed to google-deepmind/open_spiel by lanctot 3 years ago
Fixed by https://github.com/deepmind/open_spiel/pull/723 which has now been merged. Closing. Please re-open if problems persist. Thanks for all the help diagnosing and fixing this!