How can I use DDPG when installing stable-baselines from git?
> pip install git+https://github.com/hill-a/stable-baselines
> python
>>> from stable_baselines import DDPG
ImportError: cannot import name 'DDPG'
Hello,
Did you try with the [mpi] option as mentioned in the documentation?
btw, we just did a release so pip install stable-baselines[mpi] --upgrade will give you the latest version.
Wouldn't that defeat the purpose of installing through git? (i.e. getting the latest code)
The reason I was installing through pip+git was because I wanted to use the new callbacks - are those included in the latest pip release?
We just released the newest version 2.10.0 on PyPi, too, so you can now get those callbacks by installing with pip. In any case, use the [mpi] option as arrafin said. If that works, you can close this issue.
Yes, that worked. Thanks!
Most helpful comment
Hello,
Did you try with the [mpi] option as mentioned in the documentation?
btw, we just did a release so
pip install stable-baselines[mpi] --upgradewill give you the latest version.