AutoPipFixer is a Python script that automatically installs missing Python packages when a command fails due to ModuleNotFoundError
. It continuously runs the command until all required packages are installed.
- Automatically detects missing Python packages.
- Installs missing packages using
pip
. - Continuously runs the specified command until all dependencies are resolved.
Clone the repository:
git clone https://github.com/soltanali0/AutoPipFixer
Navigate to the project directory:
cd AutoPipFixer
Run the script with the command you want to execute:
python pipfixer.py -c "your_command_here"
For example:
python pipfixer.py -c "objection --gadget 'infosecadventures.allsafe' device-type"
python pipfixer.py -c "python your_script.py"
If your_script.py has any missing dependencies, AutoPipFixer will detect them and install them automatically.