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?
Adafruit BMP085 programs question
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_mike
- Posts: 67454
- Joined: Thu Feb 11, 2010 2:51 pm
Re: Adafruit BMP085 programs question
It's probably a permissions problem. If you go to the directory where the script lives on the command line and type:
what output do you get?
Code: Select all
ls -l
Please be positive and constructive with your questions and comments.