Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory #499

Open
Doujinx opened this issue Apr 26, 2023 · 2 comments
Open

No such file or directory #499

Doujinx opened this issue Apr 26, 2023 · 2 comments

Comments

@Doujinx
Copy link

Doujinx commented Apr 26, 2023

I get that issue with venv, there is no directory, maybe you was have the same issue ?

`/home/kali/Programs/king-phisher/KingPhisher

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 "/home/kali/Programs/king-phisher/king_phisher/startup.py", line 188, in pipenv_entry
shutil.rmtree(os.path.join(target_directory, '.venv'))
File "/usr/lib/python3.11/shutil.py", line 722, in rmtree
onerror(os.lstat, path, sys.exc_info())
File "/usr/lib/python3.11/shutil.py", line 720, in rmtree
orig_st = os.lstat(path, dir_fd=dir_fd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/kali/Programs/king-phisher/.venv'`

@Doujinx
Copy link
Author

Doujinx commented May 2, 2023

I fixed it, but when i run ./KingPhisher i got that :

Loading .env environment variables...
Traceback (most recent call last):
File "", line 189, in _run_module_as_main
File "", line 148, in _get_module_details
File "", line 112, in _get_module_details
File "/home/kali/Programs/king-phisher/king_phisher/client/init.py", line 35, in
import gi
ModuleNotFoundError: No module named 'gi'

@leonjensentan
Copy link

I get that issue with venv, there is no directory, maybe you was have the same issue ?

`/home/kali/Programs/king-phisher/KingPhisher

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 "/home/kali/Programs/king-phisher/king_phisher/startup.py", line 188, in pipenv_entry shutil.rmtree(os.path.join(target_directory, '.venv')) File "/usr/lib/python3.11/shutil.py", line 722, in rmtree onerror(os.lstat, path, sys.exc_info()) File "/usr/lib/python3.11/shutil.py", line 720, in rmtree orig_st = os.lstat(path, dir_fd=dir_fd) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/home/kali/Programs/king-phisher/.venv'`

How did you solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants