Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker installation #28

Open
fromWRF opened this issue May 5, 2020 · 2 comments
Open

docker installation #28

fromWRF opened this issue May 5, 2020 · 2 comments

Comments

@fromWRF
Copy link

fromWRF commented May 5, 2020

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
Copy link
Owner

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
Copy link
Author

fromWRF commented May 8, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants