Are you using Python 3? -- M
On 02/12/2018 03:46 PM, Álvaro Cebrián Juan wrote: > Hello everyone, > > I was following these instructions > <http://gnss-sdr.org/build-and-install/#install-dependencies-using-pybombs> > to install some dependencies using PyBOMBS, but when I add a list of > default recipes wit|h the command: > > $ pybombs recipes add-defaults | > > I get the following error: > > star@galaxy:~$ pybombs recipes add-defaults > PyBOMBS - INFO - PyBOMBS Version 2.3.3a0 > Traceback (most recent call last): > File "/usr/local/bin/pybombs", line 11, in <module> > load_entry_point('PyBOMBS==2.3.3a0', 'console_scripts', 'pybombs')() > File "/usr/local/lib/python3.5/dist-packages/pybombs/main.py", line > 32, in main > return dispatch() or 0 > File > "/usr/local/lib/python3.5/dist-packages/pybombs/commands/base.py", line > 194, in dispatch > return get_cmd_dict(cmd_list)[args.command](cmd=args.command, > args=args).run() > File > "/usr/local/lib/python3.5/dist-packages/pybombs/commands/base.py", line > 120, in run > return self.subcommands[self.args.sub_command]['run'](self)() > File > "/usr/local/lib/python3.5/dist-packages/pybombs/commands/recipes.py", > line 180, in run_add_defaults > if not self.add_recipe_dir(alias, uri): > File > "/usr/local/lib/python3.5/dist-packages/pybombs/commands/recipes.py", > line 347, in add_recipe_dir > Fetcher().fetch_url(uri, recipe_cache_top_level, alias, {}) # No args > File "/usr/local/lib/python3.5/dist-packages/pybombs/fetcher.py", line > 73, in fetch_url > result = fetcher.fetch_url(url, dest, dirname, args) > File "/usr/local/lib/python3.5/dist-packages/pybombs/fetchers/git.py", > line 81, in fetch_url > git_version = get_git_version() > File "/usr/local/lib/python3.5/dist-packages/pybombs/fetchers/git.py", > line 56, in get_git_version > subprocess.check_output(['git', '--version']) > File "/usr/lib/python3.5/re.py", line 173, in search > return _compile(pattern, flags).search(string) > TypeError: cannot use a string pattern on a bytes-like object > > I would be grateful if somebody can shed some light on the cause of this > error and on its possible solutions. > > Best regards, > > Álvaro > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio