question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hey, seems like I’ve gotten the module installed correctly but when trying to run some sample code just to check if it will compile:

`from time import sleep import RPi.GPIO as GPIO from mpu6050 import mpu6050

sensor = mpu6050(0x68)

while True: accel_data = sensor.get_accel_data() gyro_data = sensor.get_gyrp_data() temp = sensor.get_temp() ` I get this error:

2017-04-30-105728_1824x984_scrot

Any ideas what that may be referring to / how to fix? Looking into that directory it seems like all the files are properly placed. Using Pi 3 if that changes anything.

Thanks!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mspalluzzicommented, Apr 30, 2017

There it is!

Thanks for the help and the great module!

0reactions
m-rtijncommented, Apr 30, 2017

No problem.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[2022] 7 Ways to Fix External Hard Drive I/O Error|4DDiG
Here we will list some of the techniques that can help you fix the I/O device error. how to fix external hard drive...
Read more >
Built-in Exceptions — Python 3.11.1 documentation
User code can raise built-in exceptions. This can be used to test an exception handler or to report an error condition “just like”...
Read more >
How to catch IOError Exception in Python? - Tutorialspoint
IOError Exception. It is an error raised when an input/output operation fails, such as the print statement or the open() function when ...
Read more >
Chokden (@i0error) • Instagram photos and videos
226 Followers, 272 Following, 45 Posts - See Instagram photos and videos from Chokden (@i0error) ... This Account is Private. Already follow i0error?...
Read more >
What Is I/O Device Error? How Do I Fix I/O Device Error?
The computer storage device driver is outdated, damaged or incompatible with your attached device. The external hard drive, memory card or USB ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found