Closed mario713 closed 5 years ago
You're missing a package, specifically x86_64-linux-gnu-gcc
, I'm guessing you're installing this on a new (non Kali) debian distribution?
The following should resolve this and allow setup to continue without hassle:
$ sudo apt-get install python-dev
Thanks for quick reply.
No, Im installing it on Kali Linux(image downloaded no more than 30 days ago),
and I already did that sudo apt-get install python-dev
before posting here and it didn't helped.
///EDIT/// I also have python 2.7 installed, could that be an issue?
And after typing apt show python-dev
command im getting this output:
root@kali:~/git/VHostScan# apt show python-dev
Package: python-dev
Version: 2.7.16-1
Priority: optional
Section: python
Source: python-defaults
Maintainer: Matthias Klose <doko@debian.org>
Installed-Size: 15.4 kB
Depends: python (= 2.7.16-1), libpython-dev (= 2.7.16-1), python2.7-dev (>= 2.7.16-1~), python2-dev (= 2.7.16-1)
Homepage: https://www.python.org/
Tag: devel::lang:python, devel::library, implemented-in::python,
role::devel-lib
Download-Size: 1,192 B
APT-Manual-Installed: yes
APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages
Description: header files and a static library for Python2
Header files, a static library and development tools for building
Python2 modules, extending the Python2 interpreter or embedding Python2
in applications.
.
This package is a dependency package, which depends on Debian's Python2
version (currently v2.7).
Ah, gotcha. I'll download a fresh image tomorrow and take a proper look.
Ok so I managed to finish this installation.
Before I was installing it by python3 setup.py install
command but after editing my second post and thinking for a while I decided to try python setup.py install
and it worked.
I have 2 versions of python installed
root@kali:~# python --version
Python 2.7.16+
root@kali:~# python3 --version
Python 3.7.4
Makes sense. Nice one! Let me know how you get on with VHostScan and if there's anything else I can add to make it better for you.
Hi, Im trying to install VHostScan on my kali linux virtual machine with command
python3 setup.py install
and im getting an error. My python 3 version:Python 3.7.4
My versions of pip libs installed:
And here is the console output after running install command: