-1
我試圖在Ubuntu上安裝C的TensorFlow。我遵循頁面中的所有說明:https://www.tensorflow.org/install/install_cC中的TensorFlow:爲什麼hello_tf.c中的編譯錯誤?
請參閱下面的命令和結果。請讓我知道爲什麼我收到編譯錯誤:
[email protected]:/home/sarkar/tensorflow$ gcc hello_tf.c
hello_tf.c: In function ‘main’:
hello_tf.c:5:3: error: stray ‘\342’ in program
printf(「Tensor flow C library version %s\n」,TF_Version());
^
hello_tf.c:5:3: error: stray ‘\200’ in program
hello_tf.c:5:3: error: stray ‘\234’ in program
hello_tf.c:5:13: error:‘Tensor’ undeclared (first use in thisfunction)
printf(「Tensor flow C library version %s\n」,TF_Version());
^
hello_tf.c:5:13: note: each undeclared identifier is reported only
once for each function it appears in
hello_tf.c:5:20: error: expected ‘)’ before ‘flow’
printf(「Tensor flow C library version %s\n」,TF_Version());
^
hello_tf.c:5:20: error: stray ‘\’ in program
hello_tf.c:5:20: error: stray ‘\342’ in program
感謝, 小號薩卡
你是否從網站複製粘貼? '''與'''不一樣,外觀相同,但它們是不同的字符'「'ascii 34, – Pablo