UPiS Status [Python]

Post here your applications done based on UPiS
Share your ideas about new possible applications

Re: UPiS Status [Python]

Postby viniaero » Tue Apr 14, 2015 3:34 am

Hi,
Here gave error

Code: Select all
Traceback (most recent call last):
  File "/home/pi/upis/upis_monitor.py", line 5, in <module>
    i2c = smbus.SMBus(1)
IOError: [Errno 2] No such file or director


what can it be?
viniaero
 
Posts: 2
Joined: Tue Apr 14, 2015 3:28 am

Re: UPiS Status [Python]

Postby viniaero » Tue Apr 14, 2015 3:41 am

Here gave error

Code: Select all
sudo python /home/pi/upis/upis_monitor.py
Traceback (most recent call last):
  File "/home/pi/upis/upis_monitor.py", line 5, in <module>
    i2c = smbus.SMBus(1)
IOError: [Errno 2] No such file or directory


what can it be?
viniaero
 
Posts: 2
Joined: Tue Apr 14, 2015 3:28 am

Re: UPiS Status [Python]

Postby Pimaster » Tue Apr 14, 2015 10:41 am

Hi,
install SMB bus module for python

BR PiM
Warmest Regards
PiM
---
Designing with Mentor Graphics PADS - www.pads.com
Please read and follow the PiForum rules
http://www.forum.pimodules.com/viewtopic.php?f=13&t=196
---
Pimaster
Site Admin
 
Posts: 1593
Joined: Fri Sep 14, 2012 7:50 am

Previous

Return to UPiS Users Application

Who is online

Users browsing this forum: No registered users and 1 guest

cron