Errors Bootstrapping Ubuntu 20.04
Fresh install of Ubuntu 20.04. I apt-get install git and cloned cerbero. First error running ./cerber-uninstalled bootstrap
is no module named setuptools
. I don't have an exact stack trace of that I'm afraid.
I then ran apt-get install python3 python3-pip python3-setuptools
and added an alias for python=python3.
Now when I try to bootstrap I receive the following:
trms@cbl-cg:~/cerbero$ ./cerbero-uninstalled bootstrap
Install prefix will be /home/trms/cerbero/build/dist/linux_x86_64
Traceback (most recent call last):
File "<string>", line 20, in <module>
File "/home/trms/cerbero/cerbero/main.py", line 183, in main
Main(sys.argv[1:])
File "/home/trms/cerbero/cerbero/main.py", line 53, in __init__
self.run_command()
File "/home/trms/cerbero/cerbero/main.py", line 152, in run_command
res = commands.run(command, self.config, self.args)
File "/home/trms/cerbero/cerbero/commands/__init__.py", line 78, in run
return _commands[command].run(config, args)
File "/home/trms/cerbero/cerbero/commands/bootstrap.py", line 49, in run
bootstrappers = Bootstrapper(config, args.build_tools_only,
File "/home/trms/cerbero/cerbero/bootstrap/bootstrapper.py", line 42, in __new__
bs.append(BuildTools(config, offline))
File "/home/trms/cerbero/cerbero/bootstrap/build_tools.py", line 55, in __init__
tool, found, newer = shell.check_tool_version('cmake' ,'3.10.2', env=None)
File "/home/trms/cerbero/cerbero/utils/shell.py", line 683, in check_tool_version
out = check_output([tool, '--version'], env=env)
File "/home/trms/cerbero/cerbero/utils/shell.py", line 168, in check_output
o = subprocess.check_output(cmd, cwd=cmd_dir, env=env, stderr=stderr)
File "/usr/lib/python3.8/subprocess.py", line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/lib/python3.8/subprocess.py", line 489, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1583, in _execute_child
and os.path.dirname(executable)
File "/usr/lib/python3.8/posixpath.py", line 152, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
Please let me know if there is any additional info I can provide.