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

How to use examples of upm with Onion Omega 2 #684

Open
davidhsu0324 opened this issue Aug 16, 2019 · 2 comments
Open

How to use examples of upm with Onion Omega 2 #684

davidhsu0324 opened this issue Aug 16, 2019 · 2 comments

Comments

@davidhsu0324
Copy link

Hi, I want to know how to use upm on Onion Omega 2 because I tried to import pyupm_mg811 but it showed.
ImportError: No module named upm
I am using Python2.7 by the way. I just wonder that if Onion Omega 2 has already pre-installed upm or I should build it.
Can anybody help me? Feel really appreciate about it!

@davidhsu0324 davidhsu0324 changed the title How to using examples of upm with Onion Omega 2 How to use examples of upm with Onion Omega 2 Aug 16, 2019
@Propanu
Copy link
Contributor

Propanu commented Aug 26, 2019

Hi @davidhsu0324, check to see if the pyupm_* packages are on you board. If they aren't you'll likely have to build the Eclipse MRAA/UPM projects for your target from source to generate them. Once you have the Python packages on the board don't forget to add them to the PYTHONPATH variable.

@davidhsu0324
Copy link
Author

@Propanu , Thank you for your reply, I will try to build it.

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

2 participants