You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason: When OMPFLAG is not set, Makefile removes the line containing "lgomp". This means that the above line before modification becomes an incomplete line, yielding a syntax error:
grep -v "lgomp" python/setup.py > python/autosetup.py
cd python; export CC=gcc; python autosetup.py install || python autosetup.py install --user
File "autosetup.py", line 41
import six
^
SyntaxError: invalid syntax
File "autosetup.py", line 41
import six
^
SyntaxError: invalid syntax
make: *** [classy] Error 1
The above simple fix eliminates this error. Hope this is helpful!
The text was updated successfully, but these errors were encountered:
It would be better to change the last line in the following part
python/setup.py
:to
The reason: When
OMPFLAG
is not set, Makefile removes the line containing "lgomp". This means that the above line before modification becomes an incomplete line, yielding a syntax error:The above simple fix eliminates this error. Hope this is helpful!
The text was updated successfully, but these errors were encountered: