Tuesday, January 26, 2016

Segmentation fault: 11

When you run TensorFlow, you might encounter the following error:

>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
Segmentation fault: 11

My Python version was 2.7.3:

Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43)

When I upgraded it to 2.7.11:

Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 12:54:16)

it's fixed.

No comments:

Post a Comment