JPaulMora / Pyrit

The famous WPA precomputed cracker, Migrated from Google.
GNU General Public License v3.0
1.07k stars 273 forks source link

sudo python setup.py build #630

Open JHenao631 opened 2 years ago

JHenao631 commented 2 years ago

sudo python setup.py build File "/home/ap/Pyrit/setup.py", line 56 print "Failed to build; Compiling without AES-NI" ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)? how to solve this

I've the same problem, i ready did python2 setup.py build and don't work

jbhntr861 commented 1 year ago

You must open the file setup.py in a text editor. I use nano with the -l option so that I can see the lines. Hold ctrl down while you press / and type 56 then press enter. Now just place a parenthesis around "Failed.....AES-NI" like so print("Failed to build; Compiling without AES-NI")

You're going to have to do this in a couple of places, there are also lines with multiple exception errors that need parenthesis.