aws-deepracer-community / deepracer-for-cloud

Creates an AWS DeepRacing training environment which can be deployed in the cloud, or locally on Ubuntu Linux, Windows or Mac.
MIT No Attribution
337 stars 184 forks source link

dr-update not found #119

Closed VPpexis closed 1 year ago

VPpexis commented 1 year ago

Hello, I just got into deepracer and im not really that good.

I tried installing Deepracer-for-cloud on my WSL2 ubuntu distro. Installed all the the prerequisities and tested my cude on my WSL and works. I have also followed the documentation on installing the DRfC by running this command: bin/init.sh -a gpu -c local

However, when I tried dr-update it says that command not found. Hoping someone could help me with this. Thank you in advance

JabariHolder commented 1 year ago

You need to parse the bin/activate.sh file using source (see Local Training Troubleshooting): https://aws-deepracer-community.github.io/deepracer-for-cloud/installation.html#local-training-troubleshooting

source bin/activate.sh

I'm not sure your distro version, but in the extremely rare event that you get invalid identifier or bad substitution errors, it may be that your shell is outdated. I'd recommend using bash4 or bash5.

For M1 / M2 users who stumble here, you will need to update as macOS it ships with bash3. Assuming you have brew: brew install bash