|
From: | Tom Rondeau |
Subject: | Re: [Discuss-gnuradio] pybomb gnuradio installation doesn't install gr-uhd |
Date: | Thu, 17 Jul 2014 14:20:42 -0400 |
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: discuss-gnuradio-bounces+danderson=address@hidden [discuss-gnuradio-bounces+danderson=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
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJTyAPuAAoJEBQ6EdjyzlHtLXQH+wWjPmYbNO++90J+blLPJmZP
s2fGllEZFNo+w9aPl6RixNFqmXqc+keR709fNWT5arI0LqlGAQVqK2Z5Jk74K+1x
YO5N6lVm0Qs9l8MZWPYZwDHDIf/FTKxBDXjNBKGRNBf43wlpFjdBmF+i9OmBu2hJ
xu5RgXR7qSpm5JciU9KuoeuleDUPoA3O4PKH4FOUX5poTlN6NZYRXu7OXl//DwA0
H9I+s5qyPBXxMCMUJ8kAJDU+WPZZyIBi3PQPWtMzVLkPBV1gpJbGER5btMPCiDij
hVoQQHhR8Ocy7XxHH0L+4ClYe4FtckYBQJYQl6TYoeGh9k4Zj3FzSgveTJ8FZyc=
=L1Kf
-----END PGP SIGNATURE-----
_______________________________________________
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
[Prev in Thread] | Current Thread | [Next in Thread] |