Adafruit BMP085 programs question

Breakout boards, sensors, other Adafruit kits, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
geotek
 
Posts: 65
Joined: Thu Mar 07, 2013 1:39 pm

Adafruit BMP085 programs question

Post by geotek »

Noobe help needed.
I purchased the BMP085 pressure sesnor and ran the Adafruit_BMP085_example.py program using sudo python 'filename' and it works FINE. I would like to know why I cannot open the same program from any version of IDLE, i.e. 2,2.7.3.0 or 3.2. If go to open the file from the directory and try to run the program, I get error messages in any version. Why can I only run the program from the console mode, what am I missing here?

User avatar
adafruit_support_mike
 
Posts: 67454
Joined: Thu Feb 11, 2010 2:51 pm

Re: Adafruit BMP085 programs question

Post by adafruit_support_mike »

It's probably a permissions problem. If you go to the directory where the script lives on the command line and type:

Code: Select all

ls -l
what output do you get?

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Products from Adafruit”