Where to look for logs

All logs of operations are in the “Logs” tab of the code environment. If the error happens while you are not in a code environment, you may need to look in the backend logs. See Diagnosing and debugging issues

Creation of code environments fails with : No module named ‘distutils.spawn’

On some Ubuntu systems, the “distutils.spawn” Python module, which is a standard part of Python (though considered “legacy” in Python 3) is packaged independently of Python 3 itself.

This module is required by virtualenv however. If it is not present, creation of virtualenv-based code environments will fail with: ModuleNotFoundError: No module named 'distutils.spawn'

You need to install the python3-distutils system package:

# apt-get install python3-distutils

Creation or package installation fails with gcc error

In most cases, this kind of error is due to missing system development headers.

Python.h not found

If you get this error, you need to install the Python development headers system package. This package can only be installed by your system administrator


# apt-get install libpython-dev


# yum install python-devel

Other .h file not found

This error generally means that you need to install the development headers system package for the mentioned library. This package can only be installed by your system administrator. The name of the package is generally libsomething-dev or something-devel