avisingh599 / reward-learning-rl

[RSS 2019] End-to-End Robotic Reinforcement Learning without Reward Engineering
https://sites.google.com/view/reward-learning-rl/
Other
367 stars 68 forks source link

Error when setting up container #13

Closed febert closed 5 years ago

febert commented 5 years ago

Hi,

when running

export MJKEY="$(cat ~/.mujoco/mjkey.txt)" \
    && docker-compose \
        -f ./docker/docker-compose.dev.cpu.yml \
        up \
        -d \
        --force-recreate

I'm getting the error:

  File "/usr/lib/python2.7/dist-packages/compose/service.py", line 13, in <module>
    from docker.utils import LogConfig
ImportError: cannot import name LogConfig

How can this be fixed?

Thanks!

avisingh599 commented 5 years ago

Hmm, I have not seen this error before, do you have a longer version of the trace?

Also, is your nvidia-docker and docker-compose relatively recent (say not more than few months old)?

@hartikainen Any ideas?

avisingh599 commented 5 years ago

Also, I would suggest using the gpu version of the .yml file, i.e. ./docker/docker-compose.dev.gpu.yml, since the CPU version is quite slow.

febert commented 5 years ago

I think the problem is that I didn't install docker compose correctly. I'll try reinstalling it.

febert commented 5 years ago

I fixed it by reinstalling docker-compose according to this: https://docs.docker.com/compose/install/

avisingh599 commented 5 years ago

Great!