Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

Python 3 Support – problem with installing through PIP #8

Closed
VincentJGeisler opened this issue Oct 21, 2014 · 4 comments
Closed

Python 3 Support – problem with installing through PIP #8

VincentJGeisler opened this issue Oct 21, 2014 · 4 comments

Comments

@VincentJGeisler
Copy link

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.

@bivab
Copy link
Owner

bivab commented Oct 21, 2014

You mentioned in #9 that the install went ok, what did you do differently?

@VincentJGeisler
Copy link
Author

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.

@bivab bivab changed the title problem with installing through PIP Python 3 Support – problem with installing through PIP Oct 23, 2014
@bivab
Copy link
Owner

bivab commented Oct 23, 2014

Python 3 isn't supported yet

@bivab bivab closed this as completed in ed446f3 Oct 25, 2014
@VincentJGeisler
Copy link
Author

Well that would explain it :-)

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants