[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] problem with a fresh pybombs build
From: |
Koslowski, Sebastian (CEL) |
Subject: |
Re: [Discuss-gnuradio] problem with a fresh pybombs build |
Date: |
Fri, 7 Oct 2016 15:39:03 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
Python usually doesn't look for packages in /usr/local/....
That can be changed, of course.
However, maybe you should consider installing pybombs somewhere else.
For example,
pip install --user pybombs
or
pip install --user PATH_TO_YOUR_PYBOMBS_CLONE_OR_TARBALL
should work nicely.
Sebastian
On 10/07/2016 03:07 PM, Jason Matusiak wrote:
> >> ls -lh /usr/local/bin/pybombs
>
> >> My suspicion is that pip for some reason didn't set the executable
> flag
> >> on the pybombs program file. If that's the case, you can fix that by
>
> >> sudo chmod a+x /usr/local/bin/pybombs
>
> That was indeed my first issue. I don't know that I would blame pip
> for it just yet (we use a wonky version of sudo here at work). Once i
> made the fix though, I get the following error:
> $ pybombs recipes add gr-recipes
> git+https://github.com/gnuradio/gr-recipes.git
> Traceback (most recent call last):
> File "/usr/local/bin/pybombs", line 11, in <module>
> load_entry_point('PyBOMBS==2.2.0', 'console_scripts', 'pybombs')()
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 542, in load_entry_point
> return get_distribution(dist).load_entry_point(group, name)
> File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py",
> line 2568, in load_entry_point
> raise ImportError("Entry point %r not found" % ((group, name),))
> ImportError: Entry point ('console_scripts', 'pybombs') not found
>
> That last line sort of makes me feel like it isn't aware of pybombs.
> Should all of this work with 16.04 (my only change from before)?
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Re: [Discuss-gnuradio] problem with a fresh pybombs build, Jason Matusiak, 2016/10/07
Re: [Discuss-gnuradio] problem with a fresh pybombs build, Jason Matusiak, 2016/10/12