D4RL icon indicating copy to clipboard operation
D4RL copied to clipboard

can not install

Open yuyang16101066 opened this issue 4 years ago • 12 comments

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."

yuyang16101066 avatar Jan 15 '21 14:01 yuyang16101066

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: image

but in fact, '/home/user/.mujoco/mujoco200_linux/include/mjdata.h' exists

my environment: ubuntu18.04 mujoco200

OrionZou avatar Jan 15 '21 15:01 OrionZou

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: image

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.

yuyang16101066 avatar Jan 16 '21 05:01 yuyang16101066

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: image 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.

OrionZou avatar Jan 16 '21 06:01 OrionZou

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: image 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!

guyuwuyu avatar Jul 05 '21 20:07 guyuwuyu

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: image 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.

JayanthRR avatar Jul 08 '21 02:07 JayanthRR

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: image 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.

TimothyHo584 avatar Jul 29 '21 09:07 TimothyHo584

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: image 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?

charlesxu90 avatar Aug 08 '21 08:08 charlesxu90

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: image

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.

CodingNovice7 avatar Dec 20 '21 05:12 CodingNovice7

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: image 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

hammer-wang avatar Dec 20 '21 16:12 hammer-wang

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: image 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 finally installed successfully. Thx!

skkuai avatar Jan 04 '22 09:01 skkuai

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: image 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

Thank you! This was the fix for me too.

BennetLeff avatar Jan 13 '22 18:01 BennetLeff

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: image 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

This is the most correct answer! It works for me finally. Thank you!

nuomizai avatar Feb 26 '22 11:02 nuomizai