Kali Linux – pip/pip3 install -r requirements.txt fail

Last Updated on

The Error

When executing following command in Kali Linux

pip install -r requirements.txt
 
OR
 
pip3 install -r requirements.txt

We get error

Command “python setup.py egg_info” failed with error code 1 in ….

Or other errors

We can give following fix a try

The Fix

Use following command instead

pip install --upgrade --force-reinstall -r requirements.txt
 
OR
 
pip3 install --upgrade --force-reinstall -r requirements.txt 

Leave a Reply

Your email address will not be published. Required fields are marked *