tetuhi-vgs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tetuhi-vgs] nnpy module?


From: Grant McLean
Subject: Re: [Tetuhi-vgs] nnpy module?
Date: Tue, 29 Jul 2008 21:33:50 +1200

Matt Fischer wrote:
> I downloaded the tetuhi source tonight and have been working through
> the missing dependencies that I had.  I was able to compile finally,
> but when running, I now see this:
>
> ImportError: No module named nnpy
>
> I'm pretty new to python, but I did poke around some and did not find
> a module named nnpy, any hints?

Hi Matt

Like you, I'm a newbie at this Python thing but I thought I'd reply in
case you still haven't found an answer.

nnpy is one of the things you build when you run make in the
'perceptron' directory.  The fact that it's not being found means that
either it wasn't built successfully or you haven't installed it into a
directory that Python is looking in.

For the record, I managed to get tetuhi running this evening on my
Ubuntu (Hardy) box as follows:

sudo apt-get install python-pygame python-dev python-yaml gsl-bin
libgsl0-dev

cd c
make && sudo make python-install
cd ../img-c
´╗┐make && sudo make python-install
cd ../perceptron
´╗┐make && sudo make python-install
cd ..

various pieces got installed under /usr/local/lib

then I was able to run:

./tetuhi /path/to/image.jpg

and it all just worked!

Very cool - thanks Douglas.  Your new arrival is probably a tad young to
appreciate it just yet but my 10yr old thought it was great.

Cheers
Grant





reply via email to

[Prev in Thread] Current Thread [Next in Thread]