On Mon, Mar 28, 2016 at 12:50 PM, Jason Matusiak <
ja...@gardettoengineering.com> wrote:

> >>* - Now I'm stuck on the gnuradio installation. I added the recipes and*
> >>* created the prefix (gnuradio_mike) to a local directory as indicated in*
> >>* the PyBOMBS readme; but when I install with the command "pybombs -p*
> >>* gnuradio_mike install gnuradio gr-osmosdr" I get the following errors:*
> >>
> >>* ERROR - Could not run pip list. Hm.*
> >>* ERROR - Command '['pip', 'list']' returned non-zero exit status 2*
> >
> >What happens when you type 'pip list' into your command line? Does it
> >also produce a non-zero exit status? Are you using a virtualenv or
> >something?
>
> I am having this same issue when I decided to try setting up a machine using
> the new pybombs.  If I run 'pip list' it errors out as well.  The log file it
> creates is here:
>
> ------------------------------------------------------------ /usr/bin/pip
> run on Mon Mar 28 12:45:51 2016 adium-theme-ubuntu (0.3.4) apt-xapian-index
> (0.46) argparse (1.2.1) beautifulsoup4 (4.3.2) characteristic (0.1.0)
> chardet (2.3.0) Cheetah (2.4.4) colorama (0.3.2) command-not-found (0.3)
> debtagshw (0.1) defer (1.0.6) dirspec (13.10) duplicity (0.7.1) html5lib
> (0.999) httplib2 (0.9) idna (0.9) lockfile (0.8) lxml (3.4.2) Mako (1.0.0)
> MarkupSafe (0.23) ndg-httpsclient (0.3.2) numpy (1.8.2) oauthlib (0.6.1)
> oneconf (0.3.7.15.4.1) PAM (0.4.2) Pillow (2.7.0) pip (1.5.6)
> piston-mini-client (0.7.5) pyasn1 (0.1.7) pyasn1-modules (0.0.5) PyBOMBS
> (2.0.1) pycrypto (2.6.1) pycups (1.9.72) pygobject (3.14.0) pyOpenSSL
> (0.13.1) pyserial (2.6) Exception: Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in
> main     status = self.run(options, args)   File
> "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 80, in run
>     self.run_listing(options)   File
> "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 142, in
> run_listing     self.output_package_listing(installed_packages)   File
> "/usr/lib/python2.7/dist-packages/pip/commands/list.py", line 151, in
> output_package_listing     if dist_is_editable(dist):   File
> "/usr/lib/python2.7/dist-packages/pip/util.py", line 367, in
> dist_is_editable     req = FrozenRequirement.from_dist(dist, [])   File
> "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 299, in
> from_dist     assert len(specs) == 1 and specs[0][0] == '==' AssertionError
> ------------------------
>


How did you install pip? I'd remove it with whatever tool you used and
reinstall using "easy_install pip" (then "pip install --upgrade pip").
Makes sure you have the latest version of pip.

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

Reply via email to