When trying to import distutils the following error is shown: # python3 Python 3.4.2 (default, May 12 2015, 11:05:00) [GCC 4.9.2] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from distutils import sysconfig Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.4/distutils/sysconfig.py", line 19, in <module> PREFIX = os.path.normpath(sys.prefix).replace( os.getenv("BUILD_SYS"), os.getenv("HOST_SYS") ) TypeError: Can't convert 'NoneType' object to str implicitly
Fixed here: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3b1f6871d31cd8694e22cef0f1b61f642ed1b158
verified on master: db92bc23880794be77373b0f2d8c26279dcecb84 no error occurs