BC-SECURITY / Empire

Empire is a post-exploitation and adversary emulation framework that is used to aid Red Teams and Penetration Testers.
https://bc-security.gitbook.io/empire-wiki/
BSD 3-Clause "New" or "Revised" License
4.26k stars 580 forks source link

[BUG] Failed installation #758

Open phasm1d opened 3 weeks ago

phasm1d commented 3 weeks ago

Is there an existing issue for this?

Empire Version

5.11.5

Python Version

3.12.0

Operating System

Kali linux 2024-09-26

Database

SQLite

Current Behavior

Installation fails when install python modules through poetry with the following error: Could not find platform independent libraries Could not find platform dependent libraries Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = '/home/kali/.local/share/pypoetry/venv/bin/python' isolated = 0 environment = 1 user site = 1 safe_path = 0 import site = 1 is in build tree = 0 stdlib dir = '/usr/lib/python3.11' sys._base_executable = '/usr/bin/python' sys.base_prefix = '/usr' sys.base_exec_prefix = '/usr' sys.platlibdir = 'lib' sys.executable = '/home/kali/.local/share/pypoetry/venv/bin/python' sys.prefix = '/usr' sys.exec_prefix = '/usr' sys.path = [ '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f9e09c69080 (most recent call first):

Then using ps-empire binary always shows that error. ### Expected Behavior Empire should normally install ### Steps To Reproduce Just download latest Kali linux release and follow installation steps from documentation. ### Anything else? _No response_
githbubble commented 5 days ago

same on kali