https://github.com/fchollet/keras
tensorflow 偶然出错
source activate tensorflow
(tensorflow)
root@localhost:~
▶ python
Python 2.7.12 |Anaconda 4.2.0 (64-bit)| (default, Jul 2 2016, 17:42:40)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import tensorflow
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named tensorflow
>>>
source ../etc/profile
▶ source activate tensorflow
python
import tensorflow
import keras
>>> import tensorflow
>>> import theano
>>> import keras
root@localhost:~ ⍉
▶ source deactivate
root@localhost:~
▶ source ../etc/profile
root@localhost:~
▶ source activate tensorflow
(tensorflow)
root@localhost:~
▶ python
Python 2.7.12 |Continuum Analytics, Inc.| (default, Jul 2 2016, 17:42:40)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://anaconda.org
>>> import tensorflow