import os import json modules=[] with open("requirements.json", 'r') as f: modules = f for module in modules: os.system(f'pip3 install {module}') os.system('python3 -m pipx install impacket')