Skip to contentSkip to conversation

Howto compile py-smbus with python 3.2

lm-sensors Bernhard Renz 2 participants 2 messages May 14, 2012

lore
Share & tools
lore
#0 lore raw

Hello @All,

i try to compile i2c-tools-3.1.0 py-smbus, smbusmodule.c with the following command under Ubuntu 12.04:
python3.2 ./setup.py build

But it fail. With Python 2.7 it works.
Has onlybody a solution to use that module with python 3.2?

With kind regards
Bernhard

Signature · 7 lines
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#1 lore raw
Quoted 5 lines · Bernhard Renz

i try to compile i2c-tools-3.1.0 py-smbus, smbusmodule.c with the following command under Ubuntu 12.04:
python3.2 ./setup.py build

But it fail. With Python 2.7 it works.
Has onlybody a solution to use that module with python 3.2?

Off-topic. Please ask on the linux-i2c list instead. When you do, I advise that you provide more details about the failure. "It fails" is about the poorest piece of information you can provide when asking for help.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors