Closed nczempin closed 5 years ago
Don't install the "baselines" directly from pip. (the version in there is over a year old and some functions have different signatures).
Does this issue also show up, when you install baselines from the current git ?
I am/was a bit confused why I even need to install baselines in the first place; I thought the suggested change in issue #1 was meant to take care of that?
The baselines library is needed (we use it a little in the environment and in the examples).
The baselines library is needed (we use it a little in the environment and in the examples).
What I meant was "why do I even have to install it manually?"
What command did you run, when you installed the football env for the first time ?
What you can try is:
This should not ask for Mujoco anymore.
hang on, I seem to have a whole zoo of different python versions on my machine, some via ubuntu, some anaconda, some miniconda. let me clean up this mess and get back to you
As far as I can tell, that error is fixed by my cleanup.
Now I'm getting an error because apparently cuda 10.0 is expected but I only have 10.1
ERROR: Failed cleaning build dir for baselines Successfully built baselines Failed to build baselines
- pip3 uninstall baselines
- pip3 install "git+https://github.com/openai/baselines.git@master#egg=baselines-0.1.6"
says: ERROR: Could not find a version that satisfies the requirement baselines-0-1-6 (unavailable) ERROR: No matching distribution found for baselines-0-1-6 (unavailable)
@psymbio It's probably because you have Tensorflow 2 installed, but master
branch of the baselines
supports Tensorflow up to 1.14. You can either install Tensorflow 1 (use supported version of python3 in such case) or try using tf2
branch of the baselines
:
pip3 install "git+https://github.com/openai/baselines.git@tf2"
I was able to get it built with the change suggested in issue #1.
However, when trying to run
python3 -m gfootball.play_game
, I getModuleNotFoundError: No module named 'baselines'
, and when I try to dopip3 install baselines
, I getException: You appear to be missing MuJoCo.
I don't think I should need MuJoCo to get the football stuff running.
I'm on Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-50-generic x86_64)