On Wed, Aug 25, 2010 at 02:21:27PM -0700, Brook Lin wrote:
> 
> Thanks again for your replies. But, I did try:
> 
> $ cp /etc/ld.so.conf /tmp/ld.so.conf
> $ echo /usr/local/lib >> /tmp/ld.so.conf
> $ sudo mv /tmp/ld.so.conf /etc/ld.so.conf
> $ sudo ldconfig
> 
> Nothing helps. BTW, I used libboost-all-dev from synaptic package manager
> rather than boost_1_37_0. 
> 
> Doug, you are right. I find gnuradio under
> /usr/local/lib/python/dist-packages/. My old Ubuntu version has the path
> /usr/local/lib/python/site-packages/gnuradio. 
> 
> Other solutions?

Is your PYTHONPATH set to /usr/local/lib/python2.6/dist-packages?
Is your PYTHONPATH exported?

Does this work:

  $ python
  Python 2.6.4 (r264:75706, Jun  4 2010, 18:20:31) 
  [GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
  Type "help", "copyright", "credits" or "license" for more information.
  >>> from gnuradio import gr
  >>> from gnuradio import usrp
  >>> exit()

Eric

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to