Skip to content

Known Issues

This page will list known issues with the Python agent. Including any information we have to help fix any problems.

Missing Python.h file when installing NerdVision

When installing the NerdVision Python module you get an error:

psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory
  #include <Python.h>
                     ^
 compilation terminated.
 error: command 'i686-linux-gnu-gcc' failed with exit status 1
This is caused by the missing python-dev package that is needed to compile the psutil Python module which is a dependency of NerdVision.

The solution is to install the missing python-dev package which includes the Python header files needed for the compilation. These can be installed using the standard package manager on linux.

apt install python-dev
or
yum install python-devel
If you are using various versions of Python on the system then you might need to install the specific version of the headers. These can be installed using:
apt install python3.5-dev
Where you can replace the version '3.5' with the version you need to install. For more information on installing the psutil module you can view the install guide here or read there git issue here.