njp83
Posts: 2
Joined: Wed Aug 05, 2015 10:07 am

Using a Yocto-volt sensor on a Raspberry pi

Fri Jun 15, 2018 4:18 am

Hi, sorry but new to all this. I am trying to get a yoctopuce volt senor to work on my rpi. when i try run a program from a list of there example the error below comes up.
Any help would be greatly apprieciated

Regards Nathan

Traceback (most recent call last):
File "genprog1", line 7, in <module>
from yocto_api import *
ImportError: No module named yocto_api

pcmanbob
Posts: 4266
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: Using a Yocto-volt sensor on a Raspberry pi

Fri Jun 15, 2018 3:18 pm

HI.

You have not really give us any information to go on.

but from the error message I would say you have not installed the yocto_api module.

if you want more detailed help you need to provide details for the project web page you are following and what mode of pi you are using along with which OS you have installed as a starting point.
Remember we want information.......................no information no help
The use of crystal balls & mind reading is not supported

User avatar
yoctopuce
Posts: 22
Joined: Sat Mar 03, 2012 11:27 pm
Contact: Website

Re: Using a Yocto-volt sensor on a Raspberry pi

Sun Jun 17, 2018 5:02 am

Chances are that you did not install the Yoctopuce python library properly. You should read that page:

www.yoctopuce.com/EN/article/for-the-be ... ce-modules

Don't hesitate to contact Yoctopuce support directly if you need more help.
We produce USB controllers, USB sensors as well as embedded USB hubs for DIY projects

njp83
Posts: 2
Joined: Wed Aug 05, 2015 10:07 am

Re: Using a Yocto-volt sensor on a Raspberry pi

Sun Jun 24, 2018 11:31 pm

Thanks, that fixed that issue, I didn't install the library where it could be found.

Regards Nathan

Return to “Automation, sensing and robotics”

Who is online

Users browsing this forum: No registered users and 5 guests