Skip to content

Instantly share code, notes, and snippets.

@melvincabatuan
Created March 3, 2017 00:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save melvincabatuan/c753360f9aa26f94bf133722d89d0489 to your computer and use it in GitHub Desktop.
Save melvincabatuan/c753360f9aa26f94bf133722d89d0489 to your computer and use it in GitHub Desktop.
(tensorflow) cobalt@cobalt-Veriton-S6620G:~/tensorflow$ bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
Fri Mar 3 10:41:15 PHT 2017 : === Using tmpdir: /tmp/tmp.hG7NRwAT5A
~/tensorflow/bazel-bin/tensorflow/tools/pip_package/build_pip_package.runfiles ~/tensorflow
~/tensorflow
/tmp/tmp.hG7NRwAT5A ~/tensorflow
Fri Mar 3 10:41:33 PHT 2017 : === Building wheel
~/tensorflow
Fri Mar 3 10:41:57 PHT 2017 : === Output wheel file is in: /tmp/tensorflow_pkg
(tensorflow) cobalt@cobalt-Veriton-S6620G:~/tensorflow$ pip install /tmp/tensorflow_pkg/tensorflow-1.0.0-cp35-cp35m-linux_x86_64.whl
Processing /tmp/tensorflow_pkg/tensorflow-1.0.0-cp35-cp35m-linux_x86_64.whl
Requirement already satisfied (use --upgrade to upgrade): protobuf>=3.2.0 in /home/cobalt/environment/tensorflow/lib/python3.5/site-packages (from tensorflow==1.0.0)
Requirement already satisfied (use --upgrade to upgrade): numpy>=1.11.0 in /home/cobalt/environment/tensorflow/lib/python3.5/site-packages (from tensorflow==1.0.0)
Collecting werkzeug>=0.11.10 (from tensorflow==1.0.0)
Downloading Werkzeug-0.11.15-py2.py3-none-any.whl (307kB)
100% |████████████████████████████████| 317kB 111kB/s
Requirement already satisfied (use --upgrade to upgrade): six>=1.10.0 in /home/cobalt/environment/tensorflow/lib/python3.5/site-packages (from tensorflow==1.0.0)
Requirement already satisfied (use --upgrade to upgrade): wheel>=0.26 in /home/cobalt/environment/tensorflow/lib/python3.5/site-packages (from tensorflow==1.0.0)
Requirement already satisfied (use --upgrade to upgrade): setuptools in /home/cobalt/environment/tensorflow/lib/python3.5/site-packages (from protobuf>=3.2.0->tensorflow==1.0.0)
Installing collected packages: werkzeug, tensorflow
Successfully installed tensorflow-1.0.0 werkzeug-0.11.15
You are using pip version 8.1.1, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(tensorflow) cobalt@cobalt-Veriton-S6620G:~/tensorflow$ python -c "import tensorflow; print(tensorflow.__version__);"
Traceback (most recent call last):
File "/home/cobalt/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
ImportError: No module named 'tensorflow.python.pywrap_tensorflow_internal'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/cobalt/tensorflow/tensorflow/__init__.py", line 24, in <module>
from tensorflow.python import *
File "/home/cobalt/tensorflow/tensorflow/python/__init__.py", line 51, in <module>
from tensorflow.python import pywrap_tensorflow
File "/home/cobalt/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 52, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/cobalt/tensorflow/tensorflow/python/pywrap_tensorflow.py", line 41, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
ImportError: No module named 'tensorflow.python.pywrap_tensorflow_internal'
Failed to load the native TensorFlow runtime.
See https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#import_error
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
(tensorflow) cobalt@cobalt-Veriton-S6620G:~/tensorflow$ cd ..
(tensorflow) cobalt@cobalt-Veriton-S6620G:~$ python -c "import tensorflow; print(tensorflow.__version__);"
1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment