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

docker installation #28

Open fromWRF opened 4 years ago

fromWRF commented 4 years ago

I have some problems when i use the command: (export MJKEY="$(cat ~/.mujoco/mjkey.txt)" \ && docker-compose \ -f ./docker/docker-compose.dev.cpu.yml \ up \ -d \ --force-recreate) to install. And the wrong information is as following: Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Ran pip subprocess with arguments: ['/opt/conda/envs/softlearning/bin/python', '-m', 'pip', 'install', '-U', '-r', '/tmp/condaenv.3p1qs83v.requirements.txt'] Pip subprocess output: Collecting git+https://github.com/deepmind/dm_control.git@0260f3effcfe2b0fdb25d9652dc27ba34b52d226 (from -r /tmp/./requirements.txt (line 23)) Cloning https://github.com/deepmind/dm_control.git (to revision 0260f3effcfe2b0fdb25d9652dc27ba34b52d226) to ./pip-req-build-10y0yui8 Collecting git+https://github.com/avisingh599/multiworld.git@19bf319422c0016260166bf64e194552bf2a9e68 (from -r /tmp/./requirements.txt (line 51)) Cloning https://github.com/avisingh599/multiworld.git (to revision 19bf319422c0016260166bf64e194552bf2a9e68) to ./pip-req-build-g6jw0ulu Collecting git+https://github.com/hartikainen/mujoco-py.git@29fcd26290c9417aef0f82d0628d29fa0dbf0fab (from -r /tmp/./requirements.txt (line 52)) Cloning https://github.com/hartikainen/mujoco-py.git (to revision 29fcd26290c9417aef0f82d0628d29fa0dbf0fab) to ./pip-req-build-a7lmrnm6

Pip subprocess error: Running command git clone -q https://github.com/deepmind/dm_control.git /tmp/pip-req-build-10y0yui8 Running command git checkout -q 0260f3effcfe2b0fdb25d9652dc27ba34b52d226 Running command git clone -q https://github.com/avisingh599/multiworld.git /tmp/pip-req-build-g6jw0ulu Running command git checkout -q 19bf319422c0016260166bf64e194552bf2a9e68 Running command git clone -q https://github.com/hartikainen/mujoco-py.git /tmp/pip-req-build-a7lmrnm6 Running command git checkout -q 29fcd26290c9417aef0f82d0628d29fa0dbf0fab fatal: reference is not a tree: 29fcd26290c9417aef0f82d0628d29fa0dbf0fab ERROR: Command errored out with exit status 128: git checkout -q 29fcd26290c9417aef0f82d0628d29fa0dbf0fab Check the logs for full command output.

CondaEnvException: Pip failed

ERROR: Service 'softlearning-dev-cpu' failed to build: The command '/bin/bash -c echo "${MJKEY}" > ~/.mujoco/mjkey.txt && conda env update -f /tmp/environment.yml && conda clean --all -y && rm ~/.mujoco/mjkey.txt' returned a non-zero code: 1

avisingh599 commented 4 years ago

It looks like certain pip installation commands are failing. Can you try using the following requirements file and see if that works: link to file

fromWRF commented 4 years ago

It looks like certain pip installation commands are failing. Can you try using the following requirements file and see if that works: link to file

Thanks for your reply. I have used your requiremets file, and there are other problems as following: Pip subprocess error: Running command git clone -q https://github.com/avisingh599/multiworld.git /tmp/pip-req-build-w4xjsg54 Running command git checkout -q 19bf319422c0016260166bf64e194552bf2a9e68 Running command git clone -q https://github.com/hartikainen/serializable.git /tmp/pip-req-build-jbtvb5_s WARNING: Missing build requirements in pyproject.toml for mujoco-py==2.0.2.7 from https://files.pythonhosted.org/packages/c3/a1/00f5482d6325565f35a81707b8c6b3e364bdc8f7b9487c15c18781e1432a/mujoco-py-2.0.2.7.tar.gz#sha256=2a294006c66ed225c3409b9d60a91afeb7756f96fecf3d8c22116d00adf6d82a (from -r /tmp/./requirements.txt (line 51)). WARNING: The project does not specify a build backend, and pip cannot fall back to setuptools without 'wheel'. ERROR: requests 2.20.1 has requirement urllib3<1.25,>=1.21.1, but you'll have urllib3 1.25.1 which is incompatible. ERROR: botocore 1.12.130 has requirement urllib3<1.25,>=1.20; python_version >= "3.4", but you'll have urllib3 1.25.1 which is incompatible. ERROR: awscli 1.16.140 has requirement PyYAML<=3.13,>=3.10, but you'll have pyyaml 5.1 which is incompatible. ERROR: Cannot uninstall 'ruamel-yaml'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

CondaEnvException: Pip failed

ERROR: Service 'softlearning-dev-cpu' failed to build: The command '/bin/bash -c echo "${MJKEY}" > ~/.mujoco/mjkey.txt && conda env update -f /tmp/environment.yml && conda clean --all -y && rm ~/.mujoco/mjkey.txt' returned a non-zero code: 1