Is howtowriteablock broken?

after making and installing gr-how-to-write-a-block
i do in python

import howto

and I get the error:

Traceback (most recent call last):
File “”, line 1, in
File
“/n/harrisville/x/anastas/usr/lib64/python2.6/site-packages/howto/init.py”,
line 40, in
from howto_swig import *
ImportError: No module named howto_swig

I know i have

howto_swig installed inside the directory

/net/harrisville/x/anastas/usr/lib64/python2.6/site-packages/gnuradio

so it is not clear what is wrong.
also i have
PYTHONPATH="/n/harrisville/x/anastas/usr/lib64/python2.6/site-packages"

any clues?
thanks
Achilleas

On Fri, Feb 04, 2011 at 12:03:17PM -0500, Achilleas A.
wrote:

line 40, in
also i have
PYTHONPATH="/n/harrisville/x/anastas/usr/lib64/python2.6/site-packages"

Hi Achilleas,

why is howto_swig in a different directory than init.py? With your
PYTHONPATH, it should not be a problem, but it still might be a cause of
error–try copying howto_swig.py and _howto_swig.* to the same dir as
init.py.

MB


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs