As you can tell, it's actually pip that's broken. A solution is to update pip (pip install --upgrade pip). If that doesn't work, try updating pip with easy_install.
Cheers, Martin On 03/11/2016 07:08 AM, Nicolas Cuervo Benavides wrote: > Hi all, > > So far I've been installing all from source and everything had been > (almost) fine. However I wanted to check what was all the buzz about > PyBombs so I gave it a try. Now I'm getting the same output that Mike > was getting. > > ERROR - Could not run pip list. Hm. > ERROR - Command '['pip', 'list']' returned non-zero exit status 2 > > Also, by typing "pip list", I get the same output there too. > > cuervo@cuervo-laptop:~/PATH$ pip list > adium-theme-ubuntu (0.3.4) > apt-xapian-index (0.45) > argparse (1.2.1) > bpython (0.12) > chardet (2.0.1) > Cheetah (2.4.4) > colorama (0.2.5) > command-not-found (0.3) > debtagshw (0.1) > defer (1.0.6) > dirspec (13.10) > dnspython (1.11.1) > docutils (0.11) > duplicity (0.6.23) > html5lib (0.999) > httplib2 (0.8) > lockfile (0.8) > lxml (3.3.3) > Mako (0.9.1) > MarkupSafe (0.18) > matplotlib (1.3.1) > numpy (1.8.2) > oauthlib (0.6.1) > oneconf (0.3.7) > PAM (0.4.2) > pdfshuffler (0.6.0) > pexpect (3.1) > Pillow (2.3.0) > pip (1.5.4) > piston-mini-client (0.7.5) > playitslowly (1.4.0) > PyBOMBS (2.0.1) > pycrypto (2.6.1) > pycups (1.9.66) > Pygments (1.6) > pygobject (3.12.0) > pygpgme (0.3) > PyOpenGL (3.0.2) > pyOpenSSL (0.13) > pyparsing (2.0.1) > pyPdf (1.13) > pyserial (2.6) > pysmbc (1.0.14.1) > 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 366, in > dist_is_editable > req = FrozenRequirement.from_dist(dist, []) > File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 286, in > from_dist > assert len(specs) == 1 and specs[0][0] == '==' > AssertionError > > Storing debug log for failure in /home/cuervo/.pip/pip.log > > > > Could someone give some advice on how to solve this part? > > Regards, > > Nico > > On Thu, Feb 4, 2016 at 6:37 PM, Rahaim, Michael Brandon <mrah...@bu.edu > <mailto:mrah...@bu.edu>> wrote: > > Hi Martin, > > Thanks for following up. I actually reverted back to the pybombs > version I had used before (git hash 0a73618) and got gnuradio > v3.7.10 running; but I uninstalled pybombs through pip and used the > pybombs file (I think?) > > I'm not sure if that changed anything, but the debug log for running > "pip list" now is below. I'm running Ubuntu directly (no virtual > environment) > > -Mike > > ------------------------------------------------------------ > /usr/bin/pip run on Thu Feb 4 12:29:19 2016 > adium-theme-ubuntu (0.3.4) > alabaster (0.7.7) > apt-xapian-index (0.45) > argparse (1.2.1) > Babel (2.2.0) > chardet (2.0.1) > Cheetah (2.4.4) > colorama (0.2.5) > command-not-found (0.3) > debtagshw (0.1) > decorator (3.4.0) > defer (1.0.6) > dirspec (13.10) > docutils (0.12) > duplicity (0.6.23) > html5lib (0.999) > httplib2 (0.8) > Jinja2 (2.8) > lockfile (0.8) > lxml (3.3.3) > Mako (0.9.1) > MarkupSafe (0.23) > matplotlib (1.3.1) > nose (1.3.7) > numpy (1.8.2) > oauthlib (0.6.1) > oneconf (0.3.7) > PAM (0.4.2) > pexpect (3.1) > Pillow (2.3.0) > pip (1.5.4) > piston-mini-client (0.7.5) > plex (2.0.0.dev0) > PyBOMBS (2.0.0) > pycrypto (2.6.1) > pycups (1.9.66) > pycurl (7.19.3) > Pygments (2.1) > pygobject (3.12.0) > PyOpenGL (3.0.2) > pyOpenSSL (0.13) > pyparsing (2.0.1) > pyserial (2.6) > pysmbc (1.0.14.1) > 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 366, in > dist_is_editable > req = FrozenRequirement.from_dist(dist, []) > File "/usr/lib/python2.7/dist-packages/pip/__init__.py", line 286, > in from_dist > assert len(specs) == 1 and specs[0][0] == '==' > AssertionError > > > > ________________________________________ > From: discuss-gnuradio-bounces+mrahaim=bu....@gnu.org > <mailto:bu....@gnu.org> > [discuss-gnuradio-bounces+mrahaim=bu....@gnu.org > <mailto:bu....@gnu.org>] on behalf of Martin Braun > [martin.br...@ettus.com <mailto:martin.br...@ettus.com>] > Sent: Wednesday, February 03, 2016 8:32 PM > To: discuss-gnuradio@gnu.org <mailto:discuss-gnuradio@gnu.org> > Subject: Re: [Discuss-gnuradio] Pybombs / GNURadio install question > > On 02/03/2016 10:20 AM, Rahaim, Michael Brandon wrote: > > - When installing pybombs, I got an error "could not find a > version that > > satisfies the requirement plex", but I was able to get around that by > > running "pip install --pre plex" > > That's a known issue somewhere between the distutils setup file provided > by PyBOMBS, and the plex package. In the next release we'll drop the > plex dep (maybe temporarily) but what you describe is the current hotfix > for this issue. > > > - 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? > > M > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org <mailto:Discuss-gnuradio@gnu.org> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > -- > Nicolás Cuervo Benavides > Handy: +49 157 70476855 > Electric and Electronic Engineering department. > Electronic Engineering > Universidad Nacional de Colombia > -- > Student M.Sc. Information and Communication Technology > Karlsruher Institut für Technologie > Karlsruhe, Baden Württemberg, Germany _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio