Hello Tom:
Maybe you can try editing ~/.profile instead (just put the same export command that you putted on ~/.bashrc) and then reboot your system (I am assuming a Debian-like distro).
Regards,
Kyeong Su Shin
보낸 사람: Tom McDermott <tom.n5eg@gmail.com> 대신 Discuss-gnuradio <discuss-gnuradio-bounces+ksshin=postech.ac.kr@gnu.org>
보낸 날짜: 2020년 5월 2일 토요일 오전 12:06
받는 사람: Discuss Gnuradio <discuss-gnuradio@gnu.org>
제목: Re: port OOT to gr3.8: python can't find my module
보낸 날짜: 2020년 5월 2일 토요일 오전 12:06
받는 사람: Discuss Gnuradio <discuss-gnuradio@gnu.org>
제목: Re: port OOT to gr3.8: python can't find my module
Thanks, Barry. I edited ~/.bashrc
That allows it to be found when executing from a terminal (./flowgraphname.py)
but not from gnuradio-companion.
-- Tom, N5EG
On Fri, May 1, 2020 at 7:49 AM Barry Duggan <barry@dcsmail.net> wrote:
Hi Tom,
Try following the procedures in
https://wiki.gnuradio.org/index.php/ModuleNotFoundError
Note that you can have multiple paths separated by a colon (:).
73,
--
Barry Duggan KV4FV
On Fri, 1 May 2020 07:26:11 -0700, Tom McDermott wrote:
Testing out a port of an OOT into gr3.8. hpsdr
I've successfully built/installed the ported OOT into gr3.8, and
gnuradio-companion finds it and instantiates into a flowgraph.
It's in the group hpsdr
However when executing the flowgraph, python throws an error that it
cannot import hpsdr. The OOT install put it into:
/usr/local/lib/python3/dist-packages/hpsdr
but apparently gnuradio-companion is not looking there.
How do I tell gnuradio-companion where to look for my OOT module?
-- Tom, N5EG
No comments:
Post a Comment