mit-acl / rl_collision_avoidance

Training code for GA3C-CADRL algorithm (collision avoidance with deep RL)
117 stars 28 forks source link

Cannot execute ./install.sh #16

Closed nfhe closed 2 years ago

nfhe commented 2 years ago

Hello, thanks for sharing your awesome work. I'm a beginner about this field and this is the first time I learn about it. I have been troubled by the above questions for a long time. I hope you can help me, thank you very much!

WhenI want to execute. / install.sh,I have a error!

`(avoidance) he@he-Lenovo-Legion-R7000P2020H:~/drl-test/src/rl_collision_avoidance$ ./install.sh

Python 3.6.9 :: Anaconda, Inc. Your python version is: . Please replace it with Python 3.4-3.7 so we can use tensorflow 1.`

Python=3.6.9,tensorflow=1.14. I don't how to solve it. Thank you very much!

mfe7 commented 2 years ago

Have you tried running the install script outside of your anaconda environment? I personally don’t use anaconda, and the install script will create a virtual environment itself, so I suspect there would be some conflict between those two types of environments. If you need a specific version of Python, I use pyenv to manage multiple versions on my machine.

nfhe commented 2 years ago

Thank you for your reply. I have solved the last problem according to your reply. But now there is a new problem.

When I execute. / install.sh,I have a error in /gym-collision-avoidance/install.sh.!

1659848693(1)

1659849091(1)

I don't how to solve it. I hope to get your reply. Thank you very much!

mfe7 commented 2 years ago

Hmm that seems like a pip install / git pull issue, unrelated to this repo. I haven't seen that one before.

nfhe commented 2 years ago

Thank you very much for your reply.

I have found an alternative. Let's talk about it in order to avoid such problems for the latecomers.

python3 -m pip install git+https://gitee.com/he-naifeng/baselines.git.

I want to close this comment. Thank you very much.