[Top][All Lists]

[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 16:18:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0

Looks like its clashing with you first attempt. Maybe remove that first.
Also, if you do install with --user you need to add $HOME/.local/bin to
your PATH variable.


On 10/07/2016 04:09 PM, Jason Matusiak wrote:
> Running pip install --user pybombs
> returns:
> Collecting pybombs
> Requirement already satisfied: PyYAML in
> /usr/local/lib/python2.7/dist-packages (from pybombs)
> Requirement already satisfied: requests in
> /usr/local/lib/python2.7/dist-packages (from pybombs)
> Requirement already satisfied: six in /usr/lib/python2.7/dist-packages
> (from pybombs)
> Requirement already satisfied: future in
> /usr/local/lib/python2.7/dist-packages (from pybombs)
> Requirement already satisfied: setuptools in
> /usr/local/lib/python2.7/dist-packages (from pybombs)
> Installing collected packages: pybombs
> Successfully installed pybombs
> But if I type pybombs on the command line, I get:
> bash: /usr/local/bin/pybombs: No such file or directory
> On 10/07/2016 09:39 AM, Koslowski, Sebastian (CEL) wrote:
>> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]