[Top][All Lists]

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

[Discuss-gnuradio] _gnuradio_swig_python import error on Mac OS X

From: Jonathan Jacky
Subject: [Discuss-gnuradio] _gnuradio_swig_python import error on Mac OS X
Date: Fri, 15 Apr 2005 16:58:17 -0700 (PDT)

I build gnuradio-core from the 2.5 tarball on Mac OS X.

After make and make install completed without error messages,
I tried make check in my gnuradio-core-2.5. (I learned here in January that on OS X, make install must precede make check).

Every one of the qa_*.py checks fails with this same traceback:

Traceback (most recent call last):
  File "./qa_add_and_friends.py", line 23, in ?
    from gnuradio import gr, gr_unittest
", line 27, in ?
    from gnuradio_swig_python import *
py", line 5, in ?
    import _gnuradio_swig_python
ImportError: No module named _gnuradio_swig_python

I find I have these files under my gnuradio-core-2.5:


I find that make install also installed these:


However, I don't find a _gnuradio_swig_python.py, .pyc, or .pyo anywhere

I thought it might be a problem with the Python path, but python can import other .py files from under /Library/Python/2.3 without an explicit path being given. In a python terminal session, "print sys.path" shows the path includes
site-packages', which is a link to /Library/Python/2.3.

Any suggestions? Am I supposed to have a _gnuradio_swig_python.py,.pyc, or .pyo somewhere? Is python supposed to import _gnuradio_swig_python.la,.lai, or .dylib?

Jon Jacky

reply via email to

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