Pyrit icon indicating copy to clipboard operation
Pyrit copied to clipboard

sudo python setup.py build

Open JHenao631 opened this issue 3 years ago • 1 comments

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

JHenao631 avatar Aug 22 '22 05:08 JHenao631

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.

jbhntr861 avatar Feb 10 '23 07:02 jbhntr861