You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Installed from source; unable to import tensorflow #81
ariw@clairvoyance:~/tensorflow$ python
Python 2.7.6 (default, Jun 22 2015, 18:00:18)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import tensorflow
Traceback (most recent call last):
File "", line 1, in
File "tensorflow/init.py", line 4, in
from tensorflow.python import *
File "tensorflow/python/init.py", line 13, in
from tensorflow.core.framework.graph_pb2 import *
ImportError: No module named core.framework.graph_pb2
exit()
I have the same issue, installed tensorflow using pip: sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
Running python 2.7.6 on Linux Mint 17.1 (so basically Ubuntu 14.04).
I resolved my issue by uninstalling another version of protobuf that was previously installed with pip: sudo pip uninstall protobuf
then installing the python wheel again.
This error often happens if you open a python shell in the base bazel directory. The directory "tensorflow" in there confuses python. Try running python from another directory; let us know if import tensorflow does not work then.
Activity
graphific commentedon Nov 10, 2015
did you pip install the python wheel as well?
felixduvallet commentedon Nov 10, 2015
I have the same issue, installed tensorflow using pip:
sudo pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whlRunning python 2.7.6 on Linux Mint 17.1 (so basically Ubuntu 14.04).
felixduvallet commentedon Nov 10, 2015
I resolved my issue by uninstalling another version of protobuf that was previously installed with pip:
sudo pip uninstall protobufthen installing the python wheel again.
ebrevdo commentedon Nov 10, 2015
This error often happens if you open a python shell in the base bazel directory. The directory "tensorflow" in there confuses python. Try running python from another directory; let us know if
import tensorflowdoes not work then.Merge pull request tensorflow#81 from tensorflow/dropout-fix
Merge pull request tensorflow#81 from lissyx/r1.11-release
Merge pull request tensorflow#81 from syoyo/use-native-for-host_copt
fix error when epoch>1 (tensorflow#81)
Add security advisory for vuln #81 in 2022
PR #74845: Adds TfLite Stablehlo Shift Left and Stablehlo And Operations
PR #74845: Adds TfLite Stablehlo Shift Left and Stablehlo And Operations
PR #74845: Adds TfLite Stablehlo Shift Left and Stablehlo And Operations
PR #74845: Adds TfLite Stablehlo Shift Left and Stablehlo And Operations
TfLite stablehlo add and_op (#52) (#81)