Open johnrogerpap opened 1 year ago
pip install Pillow
Getting this issue
~/Keylogger (master) [1]> pip install pillow
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
from cryptography.utils import int_from_bytes
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pillow in /home/ubuntu/.local/lib/python3.8/site-packages (9.2.0)
--- Logging error ---
Traceback (most recent call last):
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_internal/utils/logging.py", line 177, in emit
self.console.print(renderable, overflow="ignore", crop=False, style=style)
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_vendor/rich/console.py", line 1673, in print
extend(render(renderable, render_options))
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_vendor/rich/console.py", line 1305, in render
for render_output in iter_render:
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_internal/utils/logging.py", line 134, in rich_console
for line in lines:
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_vendor/rich/segment.py", line 249, in split_lines
for segment in segments:
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_vendor/rich/console.py", line 1283, in render
renderable = rich_cast(renderable)
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_vendor/rich/protocol.py", line 36, in rich_cast
renderable = cast_method()
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_internal/self_outdated_check.py", line 130, in rich__
pip_cmd = get_best_invocation_for_this_pip()
File "/home/ubuntu/.local/lib/python3.8/site-packages/pip/_internal/utils/entrypoints.py", line 58, in get_best_invocation_for_this_pip
if found_executable and os.path.samefile(
File "/usr/lib/python3.8/genericpath.py", line 101, in samefile
s2 = os.stat(f2)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pip3.8'
Call stack:
File "/home/ubuntu/.local/bin/pip", line 8, in
Why am i having this message?
Traceback (most recent call last): File "/home/kali/Keylogger/keylogger.py", line 9, in
import pyscreenshot
File "/home/kali/.local/lib/python3.9/site-packages/pyscreenshot/init.py", line 5, in
from pyscreenshot.loader import Loader, FailedBackendError
File "/home/kali/.local/lib/python3.9/site-packages/pyscreenshot/loader.py", line 2, in
from pyscreenshot import plugins
File "/home/kali/.local/lib/python3.9/site-packages/pyscreenshot/plugins/init.py", line 5, in
from pyscreenshot.plugins import wxscreen, gtkpixbuf, qt4grabwindow, qt5grabwindow, \
File "/home/kali/.local/lib/python3.9/site-packages/pyscreenshot/plugins/scrot.py", line 2, in
from easyprocess import extract_version
ImportError: cannot import name 'extract_version' from 'easyprocess' (/home/kali/.local/lib/python3.9/site-packages/easyprocess/init.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/kali/Keylogger/keylogger.py", line 143, in
keylogger.run()
File "/home/kali/Keylogger/keylogger.py", line 115, in run
keyboard_listener = keyboard.Listener(on_press=self.save_data)
NameError: name 'keyboard' is not defined