> 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 "<stdin>", line 1, in <module>
> File "/n/harrisville/x/anastas/usr/lib64/python2.6/site-packages/howto/__init__.py",
> line 40, in <module>
> 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"
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 Braun
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
No comments:
Post a Comment