Trouble

RPi.GPIO_BP is installing wrongly

9 763
Hello,

I'm the enthousiastic user of BananaPI from my Domotica.

The problem is that I can't control the GPIO pins using Python27. I installed RPi.GPIO_BP from GitHub but during installation I got serveral warnings, like:
source/c_gpio.c:73:3: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]source/c_gpio.c:73:3: warning: incompatible implicit declaration of built-in function ‘printf’ [enabled by default]source/c_gpio.c:73:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘uint8_t *’ [-Wformat]source/c_gpio.c:73:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘volatile uint32_t *’ [-Wformat]
And when I try:
import RPi.GPIO as GPIO

I get an error: "No module named GPIO"


Does anyone have a solution for this ?


Best regards Maarten


alessia  
The warning is not the problem. "No module named GPIO" seems to be a general Python problem. Try it using  Python script instead of using IDE.

Dear Alessia,

Thanks for your reaction.

Sure that is the first thing I tried after the "warning" problem ; however when I run import GPIO_BP in the script, it returns not found. I'm affraid it it is not right installed.

Best regards Maarten

To be more precise, in the Python script I called:
import RPi.GPIO_BP as GPIO

And I also faced the problem before, but I then edit the code and maybe a Syntax error before the line or after the line cause the problem.

Dear Tony,

Thanks for your reaction.

As test a only executed one line of code in my script: import RPi.GPIO_BP as GPIO
I ran Python as root, so I don't think there is something wrog with the privaliges.

Maarten

What kind of the OS do you use? Raspbian or Lubuntu or Bananian?

abc20180506
adidas yeezy boost
moncler outlet
air jordans
uggs
ferragamo shoes
coach factory outlet online
polo ralph lauren outlet online
louis vuitton
coach outlet store
moncler coats
kate spade
puma shoes
ugg australia
kate spade outlet store
rolex watches
canada goose uk
kate spade outlet
pandora jewelry
coach factory outlet
yeezy boost 350
air jordan shoes
mulberry bags
ralph lauren uk
vans store
canada goose jackets uk
converse shoes
converse outlet store
jordan shoes
north face outlet
air max 2018
moncler jackets
canada goose outlet
nike air max
pandora charms sale clearance
birkenstock
yeezy boost
coach outlet online
mlb jerseys
coach outlet
adidas outlet
mont blanc pens
ralph lauren sale clearance
coach outlet store
ray ban sunglasses discount
fitflops
coach outlet
mcm outlet
prada handbags
tods outlet
hermes outlet
nike store
cheap jordans free shipping
mbt shoes
pandora jewelry official site
michael kors outlet
kate spade outlet store
polo ralph lauren outlet online
polo ralph lauren outlet
nike free 4.0
polo ralph lauren outlet
coach factory outlet
cheap nike air max
coach outlet
canada goose outlet
polo outlet
hermes handbags
louis vuitton handbags
uggs canada
adidas yeezy
kate spade outlet
adidas shoes
ugg boots on sale
polo ralph lauren outlet
oakley sunglasses
nike zoom
tory burch outlet online
coach outlet
mulberry handbags
pandora jewelry official site
nike huarache
ray ban sunglasses
pandora
nike outlet store
adidas yeezy
new balance shoes
cheap nfl jerseys
adidas superstar
jordan shoes
adidas nmd
nike outlet
birkenstock outlet
canada goose
canada goose sale
supreme clothing
louboutin shoes
ralph lauren sale
ralph lauren outlet
kobe bryant shoes
timberland outlet
coach outlet
michael kors outlet canada
louis vuitton outlet
nike shoes
pandora jewelry
nike outlet online
cheap jordan shoes
nmd adidas
rolex watches
fitflops
adidas yeezy
michael kors outlet
philipp plein outlet
yeezy boost
nike free run
uggs
tory burch outlet store
hermes bags
kevin durant shoes
pandora jewelry outlet
air max 97
christian louboutin outlet
coach outlet store
coach outlet
pandora outlet
pandora charms
coach factorty outlet
pandora jewelry
coach outlet
supreme clothing
ralph lauren outlet
abc20180506

2018.9.10zhouyanhua
alexander mcqueen handbags
jordan 3s
air max
goyard handbags
new balance outlet
michael kors outlet
barbour jackets
bottega veneta sunglasses
nike air max
harry winston jewelry
nike free run
germany world cup jersey
calvin klein outlet
louboutin pas cher
louboutin pas cher
reebok outlet store
jimmy choo
air max 2017
burberry clothing
tommy hilfiger
oakley sunglasses sale
hogan outlet
yves saint laurent
montblanc pen
ray ban
adidas crazy 8
nike air max
hogan shoes
vibram shoes
baseball bats
bape clothing
true religion
jordan shoes
chanel bags
nike air max
jordans
louboutin shoes
adidas soccer cleats
oakley sunglasses
jordan clothing
vans scarpe
fendi handbags
mizuno running shoes
insanity workout
abercrombie and fitch
calvin klein jeans
ray ban
hogan
jordan 6s
omega watches
air max 2017
wedding dresses
dansko shoes
curry 3
timberland boots
nike roshe
michael kors
montblanc pen
jordan 13s
marc jacobs
furla bags
true religion jeans
jordan 4s
nike outlet store online
carrera sunglasses
adidas
cartier sunglasses
spain world cup jersey
asics shoes
diesel jeans
adidas running shoes
polo ralph lauren
nike air max
fitflops sale
jordan
abercrombie outlet
carson wentz jersey
jordans
louboutin outlet
lebron 12
bottega veneta handbags
jordan xx9
ralph lauren
champion clothing
replica rolex watches
vans shoes
barbour jackets
dsquared2 jeans
hermes outlet
kate spade outlet
nike outlet
jimmy choo shoes
asics running shoes
beats pill
mac makeup
christian louboutin
nike store
michael kors canada
g-star jeans
michael kors
2018.9.10zhouyanhua

ferragamo shoes
pandora charms
womens ugg boots
lebron james jersey
nike trainers
jordan 5
ugg slippers
under armour
the north face
oakley sunglasses
ugg outlet
nike lunarglide
audemars piguet
miu miu handbags
michael kors outlet
ugg sale
nike outlet
nike air force 1
ray ban wayfarers
adidas shoes
jordan shoes
cheap soccer jerseys
christian louboutin shoes
coach outlet online
ralph lauren
coach outlet
nike sb
nike shoes for women
bcbg
fitflops
nike flight bonafide
stephen curry shoes
christian louboutin outlet
jordan shoes
oakley sunglasses
burberry outlet
coach bags
ugg boots
harden vol 1
polo outlet
cheap jerseys
moncler outlet
adidas stan smith
ugg boots
fitflops
ugg for women
cristiano ronaldo jersey
lebron ambassador 10
jordan shoes
stuart weitzman
north face jackets
monster headphones
dolce & gabbana
ray ban sunglasses
adidas outlet
air jordan
cheap jordans
maglia calcio
louboutin
saucony shoes
nike socks
nike factory
true religion jeans
soccer jerseys
ugg boots
mlb jerseys
jordan xx9
polo shirts
spalding basketball
coach outlet
columbia outlet
basketball shoes
ray ban
flops
pasotti ombrelli
ugg shoes
marc jacobs
nfl jerseys
nike factory
manolo blahnik
baby uggs
salvatore ferragamo
jordan pas cher
canada goose jackets
pandora jewelry
coach factory outlet
oakley sunglasses
soccer jerseys
north face outlet
coach outlet
michael kors handbags
michael kors handbags
fitflops sale
ugg australia
bvlgari jewelry
off-white
michael kors handbags
light up shoes
ugg sale
basketball shoes
chenyingying20180912

You have to log in before you can reply Login | Sign Up

Points Rules