Adafruit GPIO input shows large negative number

Hi Folks,

I have a BBB with Ubuntu 14.04. I’m using the Adafruit python GPIO library. When I read a GPIO input, instead of getting a 1 or 0, I’m getting a large negative value like -1227579032.

My code is simple. At the Python prompt.

import Adafruit_BBIO.GPIO as GPIO
GPIO.setup_“P9_13”, GPIO.IN)
GPIO.input(“P9_13”)
-1227579032

The number is the same no matter which IO is use as input.
The result is independent of having the IO float or grounded.

Ideas?

Thanks,
Paul

Got it, had to run as root.

Paul