Python 3 Support – problem with installing through PIP
VincentJGeisler opened this issue · comments
Im trying to install this package on arch arm (IMX-233) through pip. there seems to be a dependancy problem in building the package.
[root@alarm /]# pip install smbus-cffi
Downloading/unpacking smbus-cffi
Downloading smbus-cffi-0.3.2.tar.gz
Running setup.py (path:/tmp/pip_build_root/smbus-cffi/setup.py) egg_info for package smbus-cffi
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/smbus-cffi/setup.py", line 7, in
import smbus
File "/tmp/pip_build_root/smbus-cffi/smbus/init.py", line 1, in
from .smbus import ffi
File "/tmp/pip_build_root/smbus-cffi/smbus/smbus.py", line 29, in
from util import validate
ImportError: No module named 'util'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 17, in
File "/tmp/pip_build_root/smbus-cffi/setup.py", line 7, in
import smbus
File "/tmp/pip_build_root/smbus-cffi/smbus/init.py", line 1, in
from .smbus import ffi
File "/tmp/pip_build_root/smbus-cffi/smbus/smbus.py", line 29, in
from util import validate
ImportError: No module named 'util'
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/smbus-cffi
Storing debug log for failure in /root/.pip/pip.log
any assistance you can give would be awesome.
You mentioned in #9 that the install went ok, what did you do differently?
Different version of python. 2.7 installs fine, 3.4 has dependancy problems on install.. both with i2ctools installed.
Using ArchArm current on an IMX233 board.
Python 3 isn't supported yet
Well that would explain it :-)
Thanks!