[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] is howtowriteablock broken?
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] is howtowriteablock broken? |
Date: |
Mon, 7 Feb 2011 09:24:03 +0100 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, Feb 04, 2011 at 12:03:17PM -0500, Achilleas Anastasopoulos wrote:
> 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
pgpdhk9AKwrqi.pgp
Description: PGP signature