Error in installing gvm-tools

Hi! I am trying to install gvm-tools but I get this error.

Collecting gvm-tools
Using cached
Complete output from command python egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-build-_lDNbg/gvm-tools/”, line 27, in
version = import(‘gvmtools’).get_version()
File “gvmtools/”, line 22, in
from gvm.utils import get_version_string
ImportError: No module named gvm.utils
Command “python egg_info” failed with error code 1 in /tmp/pip-build-_lDNbg/gvm-tools/
You are using pip version 8.1.1, however version 19.0.3 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

I have python 2.7 and 3.5 installed on my Ubuntu machine. I tried the solutions I saw from the internet but I can’t complete the installation

You should consider upgrading via the ‘pip install --upgrade pip’ command.

You should really update pip. Your version is very old.

Did you try to install gvm-tools from pypi or from a local checkout (or url to github)? The latter wont work currently because 2.0beta1 requires python-gvm to be installed before running This issue will be fixed in the final 2.0 release.

After updating pip you can try

pip install python-gvm
pip install gvm-tools

And by the way gvm-tools does NOT support Python 2.7. See

1 Like

Thanks! I already updated my pip.
After that I try to install python-gvm and I get this error.

BlockquoteTraceback (most recent call last):
File “/usr/bin/pip”, line 9, in
from pip import main
ImportError: cannot import name main

same with pip install gvm-tools

Something with your update of pip did go wrong. I am sorry I can’t give further advises to fix the installation of pip.