13o-bbr-bbq / machine_learning_security

Source code about machine learning and security.
1.96k stars 645 forks source link

python3 DeepExploit.py -h & SyntaxError: invalid syntax #54

Open M0dred opened 4 years ago

M0dred commented 4 years ago

oops! I spent 2 hours but it still errors. qwq!!!!! python3 DeepExploit.py -h Traceback (most recent call last): File "DeepExploit.py", line 19, in import tensorflow as tf File "/usr/local/lib/python3.7/dist-packages/tensorflow/init.py", line 24, in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/init.py", line 49, in from tensorflow.python import pywrap_tensorflow File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in from tensorflow.python.pywrap_tensorflow_internal import * File "/usr/local/lib/python3.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 114 def TFE_ContextOptionsSetAsync(arg1, async): ^ SyntaxError: invalid syntax