Run outdated python scripts that require equally outdated modules

Python 2.7 and its respective pip version are no longer supported, which means that a metric ton of scripts from the 2010's era no longer work with the most recent kali releases, as an example. One of the options is to rewrite the script in python 3. But if it's too long ...

sudo curl https://bootstrap.pypa.io/pip/2.7/get-pip.py  -o get-pip.py
sudo python2.7 get-pip.py
sudo python2.7 -m pip install [your missing module, like requests]

Last updated

Was this helpful?