Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo python setup.py build #630

Open
JHenao631 opened this issue Aug 22, 2022 · 1 comment
Open

sudo python setup.py build #630

JHenao631 opened this issue Aug 22, 2022 · 1 comment

Comments

@JHenao631
Copy link

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants