byt3bl33d3r / CrackMapExec

A swiss army knife for pentesting networks
BSD 2-Clause "Simplified" License
8.37k stars 1.64k forks source link

ModuleNotFoundError: No module named 'termcolor' after compiling #482

Closed botti007 closed 2 years ago

botti007 commented 3 years ago

After compiling using Pyinstall --onefile crack....spec when i run crackmapexec.exe an error appear: anyone could help ? Traceback (most recent call last): File "crackmapexec.py", line 3, in File "PyInstaller\loader\pyimod03_importers.py", line 546, in exec_module File "logger.py", line 5, in ModuleNotFoundError: No module named 'termcolor' [12400] Failed to execute script 'crackmapexec' due to unhandled exception!

mpgn commented 2 years ago

Should be good with pip3 install -r requirement or using poetry update