Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot execute mbed deploy #13

Open
rherrmannr opened this issue Feb 11, 2022 · 1 comment
Open

Cannot execute mbed deploy #13

rherrmannr opened this issue Feb 11, 2022 · 1 comment

Comments

@rherrmannr
Copy link

The example does not work on ubuntu 20.04. I've successfully generated the cpp models, but I cannto compile the code using mbed deply:

(venv) robin@robin:~/git/utensor-helloworld$ mbed deploy
[mbed] Working path "/home/robin/git/utensor-helloworld" (program)
[mbed] Adding library "uTensor" from "https://github.com/uTensor/uTensor" at rev #2cb1b708a332
[mbed] ERROR: Could not execute "hg clone --config progress.assume-tty=true https://github.com/uTensor/uTensor /home/robin/git/utensor-helloworld/uTensor" in "/home/robin/git/utensor-helloworld".
       You can verify that it's installed and accessible from your current path by executing "hg".
---

mbed version:

(venv) robin@robin:~/git/utensor-helloworld$ mbed --version
1.10.5

Models have been generated:

(venv) robin@robin:~/git/utensor-helloworld$ ls -l models/my_model
total 20
-rw-rw-r-- 1 robin robin 13714 Feb 11 13:34 my_model.cpp
-rw-rw-r-- 1 robin robin  1113 Feb 11 13:34 my_model.hpp

Any suggestions?

@rherrmannr
Copy link
Author

Installing mercurial helped.
Please add this to your Readme.md.

sudo apt install mercurial

After this I had to run sudo pip install -r requirements.txt in my mbed-os folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant