Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #54372
    AvatarAayan_001
    Participant

    I have done apt-get update
    Then apt-get install powershell-empire

    When I then type powershell-empire
    I get
    Traceback (most recent call last):

    File “/usr/share/powershell-empire/./empire”, line 39, in <module>

    from lib.common import empire, helpers, users

    File “/usr/share/powershell-empire/lib/common/empire.py”, line 53, in <module>

    from prompt_toolkit import PromptSession, HTML

    ImportError: cannot import name ‘PromptSession’ from ‘prompt_toolkit’ (/usr/local/lib/python3.9/dist-packages/prompt_toolkit/__init__.py)

    Kindly help

    #54385
    diegodiego
    Moderator

    Hi!

    You can run this commands and the issue should be fixed:

    apt remove python3-prompt-toolkit
    pip3 install prompt_toolkit

    Let me know.
    Diego

    #54388
    AvatarAayan_001
    Participant

    I have done exactly this and i still get the same error

    #54433
    diegodiego
    Moderator

    Hi!
    If you have run the commands I shared successfully then it wouldn’t error out, can you sahre some screenshots with the result of the commands?

    Thanks!
    Diego

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.