[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-u
From: |
Marcus Müller |
Subject: |
Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd |
Date: |
Thu, 17 Jul 2014 20:24:58 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ah ok, now your error matches what I was expecting, which we both can
pretend is a good thing ;)
you could do several things to find where everything went wrong:
1. check if
prefix/lib(64)/python(2.7)/site-packages/gnuradio/uhd
exists
2. Check if UHD was really installed properly; if it was, there will
be executables like uhd_usrp_probe in your prefix/bin directory, and
headers in your prefix/include/uhd folder
3. Check the build directory of GNU Radio, to make sure
(CMakeCache.txt) to check if the GNU Radio build system noticed UHD.
Greetings,
Marcus
On 17.07.2014 19:58, Anderson, Douglas J. wrote:
> Marcus, I think everything is being done correctly. I did have uhd
> installed (via pybomb) before gnuradio, and I've reinstalled both.
>
> ------------ $ ./pybombs verify uhd [...] 100% tests passed, 0
> tests failed out of 16
>
> Total Test time (real) = 1.02 sec $ ./pybombs verify gnuradio
> [...] 97% tests passed, 3 tests failed out of 86
>
> Total Test time (real) = 54.09 sec # failed tests were fecapi
> stuff, unrelated to uhd I believe $ source ../prefix/setup_env.sh $
> python -c "from gnuradio import uhd" Traceback (most recent call
> last): File "<string>", line 1, in <module> ImportError: cannot
> import name uhd
>
> ----------------
>
> Just not sure if this is a an issue with pybomb, the gnuradio
> recipe, or my setup...
>
> So, gnuradio only builds gr-uhd if it detects uhd? Maybe I'll take
> a look at where it's looking, and where uhd actually exists.
>
> -Doug ________________________________________ From:
> address@hidden
> address@hidden on
> behalf of Marcus Müller address@hidden Sent: Thursday, July
> 17, 2014 11:12 AM To: address@hidden Subject: Re:
> [Discuss-gnuradio] pybomb gnuradio installation doesn't install
> gr-uhd
>
>
>
> Usually, when GNU Radio is built and UHD is present, gr-uhd will
> be built and installed automatically. But to get this completely
> straight: from gnuradio import uhd fails, right? Because if there
> was no submodule uhd in gnuradio, I think you should get a
> different Error:
>
> from gnuradio import doesntexist Traceback (most recent call
> last): File "<input>", line 1, in <module> ImportError: cannot
> import name doesntexist
>
> Greetings, Marcus
>
>
>
> On 17.07.2014 18:45, Anderson, Douglas J. wrote:
>> I just installed gnuradio and uhd via pybomb, sourced the env
>> file in the prefix dir, and attempted to do "from gnuradio import
>> uhd". gnuradio imports and inspection shows it's the prefixed
>> version, but uhd fails with ImportError: No module named uhd.
>
>> Do I need to pass pybomb some kind of special instruction to get
>> gr-uhd installed?
>
>> Thanks, -Doug
>
>
>
>
>> _______________________________________________ Discuss-gnuradio
>> mailing list address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTyBT6AAoJEBQ6EdjyzlHt0ZEH/07i7/7794rHNyZIhKbmP9Pg
3y+FJXSOotA0aW1uZWpCykQD/7lGYRoLmKlHvYW8jzfhX6l8dEIJ2J2NXTFzzmZ0
wvSZdXmMU7Py49CocK5r88u1Z3PcVBTt5aB8QazC6unfxbwImSXQsh0ABuDFRj4Y
mQJySND6srWN1HOegnam6/1qgqZmurxmGR+UtS9/e7/mTxbTV9qP+7dyTiKljGjN
6AUdW+iR8Ms34UJz3r0CYstJ82GpHhMQE45cAx3JBz2PkWwFbdNkSKVVMvhVW9hV
NdfmIPON2exWmv13bI6RacWP0s7Y0sHgwe7P1urQsGRQRDejiIojKcCjHm0pYRk=
=3jRB
-----END PGP SIGNATURE-----
- [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd, Anderson, Douglas J., 2014/07/17
- Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd, Marcus Müller, 2014/07/17
- Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd, Anderson, Douglas J., 2014/07/17
- Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd, Tom Rondeau, 2014/07/17
- Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd,
Marcus Müller <=
- Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd, Anderson, Douglas J., 2014/07/17
- Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd, Marcus Müller, 2014/07/17
- Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd, Anderson, Douglas J., 2014/07/17
- Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd, Tom Rondeau, 2014/07/18