Hi . I have downloaded the library (now 0.1.10 instead of 0.1.7) from the link https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/A13/PYTHON-A13-GPIO as described at http://olimex.wordpress.com/2013/03/08/a13-olinuxino-gpio-python-libraries/
then I have typed
tar -zxvf pyA13-0.1.10.tar.gz
and then
cd pyA13-0.1.10
(and not cd pyA13-0.1.10.tar.gz . is there an error on the code, right? )
then
sudo python setup.py install
and the output is
running install
running build
running build_py
running build_ext
building 'A13_GPIO' extension
error: unknown file type '.h' (from 'source/gpio_lib.h')
when i type
import A13_GPIO as GPIO
I have
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named A13_GPIO
I m working with the R17 release of jwischka.
What's the problem?
thanks
Suspect a bug in the code. Obviously the build of the extension is failing.
Have you tried the (older) version on Olimex's github?
No, I don't find them. I have just commented on the blog post linking to this thread. I'm waiting for a reply .
Did you read the last post in the thread https://www.olimex.com/forum/index.php?topic=938.15 ?
I would need a "yes or no" :)
one file was not put in the package. the new version should be ok -> https://pypi.python.org/pypi/pyA13/0.1.12
excellent. I will try it soon.
Thanks to all, i'm learning a lot. I'm glad I chose Olimex 8)
Quote from: ellecieffe on March 11, 2013, 01:53:01 PM
excellent. I will try it soon.
Thanks to all, i'm learning a lot. I'm glad I chose Olimex 8)
To anticipate your next problem, you need to have python-dev installed to compile this. I've added this to my image and it will be updated in the next go-around, whenever that is.
QuoteTo anticipate your next problem
lol thanks