king pisher issue
See original GitHub issueIssue Description
I experience an issue when I… and the results I expected are…
Reproduction Steps
- Start King Phisher
- Do something to trigger the crash
Environment Details
Host OS: Rolling Kali linux. King Phisher Version: x.y.z
Error Details / Stack Trace
./KingPhisherServer server_config.yml WARNING no pre-existing pipenv environment was found, installing it now pipenv encountered the following error: ERROR failed to install the pipenv environment ERROR failed to remove the incomplete .venv directory Traceback (most recent call last): File “/opt/king-phisher/king_phisher/startup.py”, line 188, in pipenv_entry shutil.rmtree(os.path.join(target_directory, ‘.venv’)) File “/usr/lib/python3.8/shutil.py”, line 706, in rmtree onerror(os.lstat, path, sys.exc_info()) File “/usr/lib/python3.8/shutil.py”, line 704, in rmtree orig_st = os.lstat(path) FileNotFoundError: [Errno 2] No such file or directory: ‘/opt/king-phisher/.venv’
If you are opening an issue regarding the client, copy text from the "Error
Details" of the error dialog in the client here. If you are opening an issue
regarding the server copy the relevant lines from the logs here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (1 by maintainers)
Top GitHub Comments
It looks like you are missing linux headers and probably python-dev as well.
Run the following command:
sudo apt install build-essential linux-headers-$(uname -r) python3-dev
Then try running pipenv install again.
Regardless of following all the advice here I still get errors trying to run King Phisher.
---- BEGIN ERROR ----- ./KingPhisher WARNING no pre-existing pipenv environment was found, installing it now pipenv encountered the following error: ERROR failed to install the pipenv environment ----- END ERROR ------
Is pipenv installed? YES, it is installed correctly
I used to LOVE this app but right now it is unusable…