- This topic has 3 replies, 2 voices, and was last updated 3 years, 7 months ago by .
- You must be logged in to reply to this topic.
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
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
I have done exactly this and i still get the same error
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
Not a member yet? Register now
Are you a member? Login now
Enroll in this course to access this lesson!
All of our courses include:
✔ Lifetime, unlimited access to course materials & training videos.
✔ Verifiable certificate of completion from zSecurity, signed by the course instructor, Zaid.
✔ Get answers from our Support Team within a maximum of 15 hours.
✔ Unlimited Updates.
Get free 1 month VIP membership per course with:
✔ Live mentorship and Q&A session with the course instructor, Zaid.
✔ Instant support from community members through our private discord channel.
✔ Daily updates with the latest tutorials & news in the hacking world.
✔ Daily resources like CTFs, bug bounty programs, onion services and more!
✔ Access our VIP community & connect with like-minded people.
✔ Discounts on other zSecurity products and services.
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
This website uses Google Analytics and Linkedin to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookies enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!