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

pip install failing in Kali #694

Open
digininja opened this issue Dec 9, 2024 · 0 comments
Open

pip install failing in Kali #694

digininja opened this issue Dec 9, 2024 · 0 comments

Comments

@digininja
Copy link
Contributor

OS Used - ALL Information (architecture, linux flavor, etc.)

Latest Kali

We moved away from using pip to install the Python modules because they weren't being installed correctly due to conflicts with other libraries installed by apt. The latest update to the setup script has gone back to pip which is now failing on the latest Kali.

This is what I get if I run the install script on its own:

┌──(robin㉿RT-KALI-RW)-[~/tools/EyeWitness/Python/setup]
└─$ sudo python3 -m pip install -r requirements.txt
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

I managed to install all the modules except Selenium using apt but apt wants to install the latest Selenium and gives version 4.24.4 rather than 4.9.1 which doesn't work.

For now, I've got it working using a virtual environment:

sudo apt install python3.12-venv
sudo python3 -m venv ~/tools/venv
~/tools/venv/bin/pip install -r setup/requirements.txt 
~/tools/venv/bin/python EyeWitness.py 
 ~/tools/venv/bin/python EyeWitness.py -x ~/file.xml -d ~/eyew1

I don't know how easy it would be to get this setup through the setup script but it might be worth a try.

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

1 participant