- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi ,
i just got started with Intel Galileo Gen2 , i decided to interface the lm35 sensor using the upm library in python
i started with
import pyupm_lm35 ( as given in the examples, in the upm repo)
it returns the following error
Import Error : no module named pyupm_lm35
same goes for the module pyupm_xbee
How do i fix it ?
I am using the stock yocto image provided by intel
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
That error is caused because of the library location. The libraries you imported are possibly in a different directory and when you run your program, libraries are missing. How did you install these libraries and where?
Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
That might have been the case if mraa and other pyupm modules such as pyupm_grove threw the same error on importing , but importing pyupm_grove and mraa does not throw any error. Also , i didnt install the libraries , i downloaded the image that had these libraries pre installed .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Are you using the Yocto standard image or the IoT image? What is your mraa version and upm version?
Sergio
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
I am using the EGLIBC image listed on this page .
https://software.intel.com/en-us/iot/hardware/galileo/downloads https://software.intel.com/en-us/iot/hardware/galileo/downloads
I am not sure about the versions , i dont have the access to my boards right now . Will revert later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Did you have a chance to look at your mraa and upm versions? Have you made any progress with the lm35?
Sergio

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page