Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mdt: command not found [mendel development tool]

Tags:

google-coral

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.

like image 969
Henrik Avatar asked May 06 '26 04:05

Henrik


2 Answers

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.

like image 188
Novus Avatar answered May 10 '26 18:05

Novus


In my case, I found the mdt tool is located at: ~/Library/Python/3.7/bin. So I add this path to PATH.

like image 30
jk78346 Avatar answered May 10 '26 16:05

jk78346



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!