>>> from pydoop.hadut import run_cmd
>>> hadoop_classpath = run_cmd("foobar", keep_streams=True)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.6/dist-packages/pydoop-2.0a4-py3.6-linux-x86_64.egg/pydoop/hadut.py", line 170, in run_cmd
keep_streams=keep_streams)
File "/usr/local/lib/python3.6/dist-packages/pydoop-2.0a4-py3.6-linux-x86_64.egg/pydoop/hadut.py", line 152, in run_tool_cmd
error += line
TypeError: must be str, not bytes
With Python 3: