D4RL
D4RL copied to clipboard
can not install
when I try to install this, I encounter "ERROR: Command errored out with exit status 128: git clone -q git://github.com/deepmind/dm_control /tmp/pip-install-z7djkhsc/dm-control_750010d3edcd47c991d434681980f049 Check the logs for full command output."
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e .
Then I try to execute the second command:
pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl
Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists
my environment: ubuntu18.04 mujoco200
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e .
Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists
my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
Thank you very much!
"copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory." is useful.
I install successfully.
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
thanks!
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
Worked like a charm. But, I don't understand why mujoco installation requires you to have mujoco200
folder whereas D4RL installation requires mujoco200_linux
folder.
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
Really thanks for your answer!!! I install successfully just copy mujoco200 to mujoco200_linux as you replied.
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
Same error, but the solution doesn't work anymore. The directory below doesn't exist.
/home/user/.mujoco/
What's more, even if I install dm-control
manually. During d4rl
installation, it will remove dm-control
and reinstall, which causes the error to re-occur.
Any experts help solve this problem? @justinjfu @ofirnachum @geyang @aviralkumar2907 @Mr-Pepe @charliec443
BTW, is it possible to release some stable versions, rather than install for git source?
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e .
Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists
my environment: ubuntu18.04 mujoco200 The error I encountered is a little different from this. The error message of the error I encountered is,‘Headwas successfuler file 'mjdata.h' does not exist’, and I also tried this method, but it didn't work. but 'python setup.py install' was successful.
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
I had to also copy the entire ~/.mujoco/mujuco200/include
directory to ~/.mujoco/include
to make it work. The issue is that setup.py
of the dm-control
package only recognizes the mjdata.h
file either in ~/.mujoco/mujoco2.1.1/include
or ~./mujoco/include
.
You can see lines leading to this issue in the setup.py
file here:
https://github.com/deepmind/dm_control/blob/806a10e896e7c887635328bfa8352604ad0fedae/setup.py#L59
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
I had to also copy the entire
~/.mujoco/mujuco200/include
directory to~/.mujoco/include
to make it work. The issue is thatsetup.py
of thedm-control
package only recognizes themjdata.h
file either in~/.mujoco/mujoco2.1.1/include
or~./mujoco/include
.You can see lines leading to this issue in the
setup.py
file here: https://github.com/deepmind/dm_control/blob/806a10e896e7c887635328bfa8352604ad0fedae/setup.py#L59
I finally installed successfully. Thx!
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
I had to also copy the entire
~/.mujoco/mujuco200/include
directory to~/.mujoco/include
to make it work. The issue is thatsetup.py
of thedm-control
package only recognizes themjdata.h
file either in~/.mujoco/mujoco2.1.1/include
or~./mujoco/include
.You can see lines leading to this issue in the
setup.py
file here: https://github.com/deepmind/dm_control/blob/806a10e896e7c887635328bfa8352604ad0fedae/setup.py#L59
Thank you! This was the fix for me too.
I meet the same problem with the following command: git clone https://github.com/rail-berkeley/d4rl.git cd d4rl pip install -e . Then I try to execute the second command: pip install git+https://github.com/rail-berkeley/d4rl@master#egg=d4rl Error as:
but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists my environment: ubuntu18.04 mujoco200
I solve this problem by change "git+git://github.com/deepmind/dm_control@master#egg=dm_control" and "git+git://github.com/aravindr93/mjrl@master#egg=mjrl" as "git+https://github.com/deepmind/dm_control@master#egg=dm_control" and "git+https://github.com/aravindr93/mjrl@master#egg=mjrl". And then use "pip install -e ." to install. Also, you should check your ~/.mujoco/ directory, maybe there is mujoco200 not mujoco200_linux under it. I recommend you to copy mujoco200 as mujoco200_linux, and there exist both mujoco200 and mujoco200_linux under ~/.mujoco/ directory.
I had to also copy the entire
~/.mujoco/mujuco200/include
directory to~/.mujoco/include
to make it work. The issue is thatsetup.py
of thedm-control
package only recognizes themjdata.h
file either in~/.mujoco/mujoco2.1.1/include
or~./mujoco/include
.You can see lines leading to this issue in the
setup.py
file here: https://github.com/deepmind/dm_control/blob/806a10e896e7c887635328bfa8352604ad0fedae/setup.py#L59
This is the most correct answer! It works for me finally. Thank you!