Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install Requirements on Kali #7

Closed
MiTeePingWin opened this issue Dec 4, 2019 · 2 comments
Closed

Unable to install Requirements on Kali #7

MiTeePingWin opened this issue Dec 4, 2019 · 2 comments

Comments

@MiTeePingWin
Copy link

Unable to install on Kali, I'm getting the same errors posted on the TIDoS-Framework project issues:
0xInfection/TIDoS-Framework#80
0xInfection/TIDoS-Framework#85

I wasn't able to install libmysqlclient-dev
Installing libmariadbclient18 says it's not found, but to install libmariadb3

`Package libmariadbclient18 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libmariadb3

E: Package 'libmariadbclient18' has no installation `candidate``

Running on Kali, getting the error when running:
pip3 install -r requirements.txt

Collecting mysqlclient (from mysql->-r requirements.txt (line 21))
Using cached https://files.pythonhosted.org/packages/d0/97/7326248ac8d5049968bf4ec708a5d3d4806e412a42e74160d7f266a3e03a/mysqlclient-1.4.6.tar.gz
Complete output from command python setup.py egg_info:
/bin/sh: 1: mysql_config: not found
/bin/sh: 1: mariadb_config: not found
/bin/sh: 1: mysql_config: not found
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-install-vfyl70zv/mysqlclient/setup.py", line 16, in
metadata, options = get_config()
File "/tmp/pip-install-vfyl70zv/mysqlclient/setup_posix.py", line 61, in get_config
libs = mysql_config("libs")
File "/tmp/pip-install-vfyl70zv/mysqlclient/setup_posix.py", line 29, in mysql_config
raise EnvironmentError("%s not found" % (_mysql_config_path,))
OSError: mysql_config not found

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-vfyl70zv/mysqlclient/

@MiTeePingWin
Copy link
Author

Nevermind! I fixed this by performing:

sudo apt install libmysqlclient-dev default-libmysqlclient-dev

See 0xInfection/TIDoS-Framework#78

@VainlyStrain
Copy link
Owner

Glad you were able to resolve the issue! Have had the same problem on an Ubuntu Test VM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants