social-engineer-toolkit icon indicating copy to clipboard operation
social-engineer-toolkit copied to clipboard

The Python-Pycrypto Python Module not installed

Open Preeqo opened this issue 9 years ago • 18 comments

it also says this

i think this problem is preventing me from using setoolkit and it is saying 'something went wrong printing the error no module named pexpect' and i do not know what to do, i've typed it up but i cant find a solution, does anyone know how to install it, if so let me know please also this doesn't work as well 'pip install pexpect or apt-get install python-pexpect', to help out the situation
something went wrong

Preeqo avatar May 15 '17 17:05 Preeqo

pip install pexpect

ghost avatar May 28 '17 05:05 ghost

it didn't work

Preeqo avatar May 28 '17 11:05 Preeqo

type commands:

apt-get install python-pip pip install pexpect

chicconumber1 avatar Jul 02 '17 15:07 chicconumber1

Has anyone else solved this issue? I'm getting the same error

raneeshgomez avatar Apr 15 '20 06:04 raneeshgomez

apt-get install python-pip

i am getting the error for this "unable to locate the package"

singhmayank123 avatar May 02 '20 11:05 singhmayank123

apt-get install python-pip

i am getting the error for this "unable to locate the package"

try to do this let me know if it works:

sudo apt-get update && sudo apt-get install python-pip

if not, python-pip should be in the universe repositories so:

sudo apt-get install software-properties-common sudo apt-add-repository universe sudo apt-get update sudo apt-get install python-pip

https://askubuntu.com/a/672836

chicconumber1 avatar May 02 '20 12:05 chicconumber1

apt-get install python-pip

i am getting the error for this "unable to locate the package"

try to do this let me know if it works:

sudo apt-get update && sudo apt-get install python-pip

if not, python-pip should be in the universe repositories so:

sudo apt-get install software-properties-common sudo apt-add-repository universe sudo apt-get update sudo apt-get install python-pip

https://askubuntu.com/a/672836

I am getting error of "universe" invalid

singhmayank123 avatar May 02 '20 12:05 singhmayank123

it also says this

i think this problem is preventing me from using setoolkit and it is saying 'something went wrong printing the error no module named pexpect' and i do not know what to do, i've typed it up but i cant find a solution, does anyone know how to install it, if so let me know please also this doesn't work as well 'pip install pexpect or apt-get install python-pexpect', to help out the situation something went wrong??

Had you solved this problem??

singhmayank123 avatar May 02 '20 12:05 singhmayank123

it also says this i think this problem is preventing me from using setoolkit and it is saying 'something went wrong printing the error no module named pexpect' and i do not know what to do, i've typed it up but i cant find a solution, does anyone know how to install it, if so let me know please also this doesn't work as well 'pip install pexpect or apt-get install python-pexpect', to help out the situation something went wrong??

Had you solved this problem??

May I know the module you are trying to get to work in setoolkit

chicconumber1 avatar May 02 '20 13:05 chicconumber1

it also says this i think this problem is preventing me from using setoolkit and it is saying 'something went wrong printing the error no module named pexpect' and i do not know what to do, i've typed it up but i cant find a solution, does anyone know how to install it, if so let me know please also this doesn't work as well 'pip install pexpect or apt-get install python-pexpect', to help out the situation something went wrong??

Had you solved this problem??

May I know the module you are trying to get to work in setoolkit

I am trying to do web cloning but at the start getting the error of python-pycrpto module is not installed and then after getting the error of "no mudule named pexpect " after completing all the steps and when i am even trying to install any package getting the error of unable to locate the package. i tried everything but won't fix it. Help me if you can..

singhmayank123 avatar May 02 '20 14:05 singhmayank123

If it is site cloning that you want you can use an alternative socialfish.py: https://github.com/UndeadSec/SocialFish You will probably have more chances with that. I have tried setoolkit but recently switched to social fish. My setoolkit does not have the same problem as yours but mine does not work either. Simply, it just does not continue at all.

chicconumber1 avatar May 02 '20 14:05 chicconumber1

If it is site cloning that you want you can use an alternative socialfish.py: https://github.com/UndeadSec/SocialFish You will probably have more chances with that. I have tried setoolkit but recently switched to social fish. My setoolkit does not have the same problem as yours but mine does not work either. Simply, it just does not continue at all.

Okayy thanks for this but still i would face another problem that is unable to locate the package. Any solution do you know for this?

singhmayank123 avatar May 02 '20 15:05 singhmayank123

If it is site cloning that you want you can use an alternative socialfish.py: https://github.com/UndeadSec/SocialFish You will probably have more chances with that. I have tried setoolkit but recently switched to social fish. My setoolkit does not have the same problem as yours but mine does not work either. Simply, it just does not continue at all.

Okayy thanks for this but still i would face another problem that is unable to locate the package. Any solution do you know for this?

Yes actually! unable to locate packages are usually due to your repository. Depending on your kali version there are sets of recommended repository and make sure to update your packages. you can follow this https://itsfoss.com/unable-to-locate-package-error-ubuntu/

chicconumber1 avatar May 02 '20 15:05 chicconumber1

If it is site cloning that you want you can use an alternative socialfish.py: https://github.com/UndeadSec/SocialFish You will probably have more chances with that. I have tried setoolkit but recently switched to social fish. My setoolkit does not have the same problem as yours but mine does not work either. Simply, it just does not continue at all.

Okayy thanks for this but still i would face another problem that is unable to locate the package. Any solution do you know for this?

Yes actually! unable to locate packages are usually due to your repository. Depending on your kali version there are sets of recommended repository and make sure to update your packages. you can follow this https://itsfoss.com/unable-to-locate-package-error-ubuntu/ Okayy thank you very much. I will try that.

singhmayank123 avatar May 02 '20 19:05 singhmayank123

install it manually git clone https://github.com/pycrypto/pycrypto cd pycrypto sudo python3 setup.py install

worked for me

ovhx avatar Aug 01 '20 20:08 ovhx

rtteer you are using python 3.6

ovhx avatar Sep 01 '20 21:09 ovhx

its howing mine is not running as root so the setoolkit open and exits error :

The Social-Engineer Toolkit (SET) - by David Kennedy (ReL1K)

Not running as root.

Exiting the Social-Engineer Toolkit (SET).

Thank you for shopping with the Social-Engineer Toolkit.

Hack the Gibson...and remember...hugs are worth more than handshakes.

msaiabhinav avatar Oct 08 '20 11:10 msaiabhinav

its howing mine is not running as root so the setoolkit open and exits error :

The Social-Engineer Toolkit (SET) - by David Kennedy (ReL1K)

Not running as root.

Exiting the Social-Engineer Toolkit (SET).

Thank you for shopping with the Social-Engineer Toolkit.

Hack the Gibson...and remember...hugs are worth more than handshakes.

do sudo setoolit

idk-12345678 avatar Dec 05 '22 02:12 idk-12345678