google-coral

mdt: command not found [mendel development tool]


I've flashed my Google Coral Dev Board going through the instructions on this page: https://coral.withgoogle.com/docs/dev-board/get-started/#requirements

I've downloaded the mendel development tool with

    pip3 install --user mendel-development-tool

But when I try to connect to the board's shell via MDT, using

    mdt shell

I'm met with

    mdt: command not found

I'm using a macOS, for reference. Any advice on whether I've downloaded MDT correctly, or am missing something else is greatly appreciated.


Solution

  • This happened because your command mdtis not in your terminal PATH.

    The solution is to add the path to PATH. You can check if the /Users/username/Library/Python/3.7/bin is in your shell path by running the command (username would be your username):

    echo $PATH

    If not, open ~/.bash or ~./bash_profile (For bash. If you are using zsh, then it would be ~/.zshrc.) with editor (vim or vi) by running:

    vim ~/.bash or vim ~/.bash_profile

    and add the path /Users/username/Library/Python/3.7/bin (replace username to your own username)to the end of the file.