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
Currently this is my output after installing Tensorflow. I thought it installed six as well, but was wondering why copyreg doesn't exist in six. Anyone know what to do?
tensorflow % python
Python 2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Input:
import tensorflow as tf
Result:
Traceback (most recent call last):
File "", line 1, in
File "/Library/Python/2.7/site-packages/tensorflow/init.py", line 4, in
from tensorflow.python import *
File "/Library/Python/2.7/site-packages/tensorflow/python/init.py", line 13, in
from tensorflow.core.framework.graph_pb2 import *
File "/Library/Python/2.7/site-packages/tensorflow/core/framework/graph_pb2.py", line 8, in
from google.protobuf import reflection as _reflection
File "/Library/Python/2.7/site-packages/google/protobuf/reflection.py", line 58, in
from google.protobuf.internal import python_message as message_impl
File "/Library/Python/2.7/site-packages/google/protobuf/internal/python_message.py", line 59, in
import six.moves.copyreg as copyreg
ImportError: No module named copyreg
Currently this is my output after installing Tensorflow. I thought it
installed six as well, but was wondering why copyreg doesn't exist in six.
Anyone know what to do?
tensorflow % python
Python 2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
import tensorflow as tf
Traceback (most recent call last):
File "", line 1, in
File "/Library/Python/2.7/site-packages/tensorflow/init.py", line 4, in
from tensorflow.python import *
File "/Library/Python/2.7/site-packages/tensorflow/python/init.py",
line 13, in
from tensorflow.core.framework.graph_pb2 import *
File
"/Library/Python/2.7/site-packages/tensorflow/core/framework/graph_pb2.py",
line 8, in
from google.protobuf import reflection as _reflection
File "/Library/Python/2.7/site-packages/google/protobuf/reflection.py",
line 58, in
from google.protobuf.internal import python_message as message_impl
File
"/Library/Python/2.7/site-packages/google/protobuf/internal/python_message.py",
line 59, in
import six.moves.copyreg as copyreg
ImportError: No module named copyreg
—
Reply to this email directly or view it on GitHub #75.
@vrv Just saw this minutes after I posted. Thanks, but I got it all figured out, I forgot to use Python 2.7.10 and was using the 2.7.6 that comes with my computer.
Activity
vrv commentedon Nov 10, 2015
Please see if our detailed installation instructions page helps:
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/g3doc/get_started/os_setup.md#common_install_problems
On Mon, Nov 9, 2015 at 9:09 PM, Uday Singh [email protected] wrote:
udaysinghcode commentedon Nov 10, 2015
@vrv Just saw this minutes after I posted. Thanks, but I got it all figured out, I forgot to use Python 2.7.10 and was using the 2.7.6 that comes with my computer.
ShoujunChen commentedon Nov 11, 2015
Below solution in detailed installation page resolved my issue:
Upgrade the system-wide copy of six:
sudo easy_install -U six
Merge pull request tensorflow#75 from lissyx/merge-tensorflow-master_…
Add unreachable to avoid GCC -Wreturn-type warning
Merge pull request tensorflow#75 from ROCmSoftwarePlatform/refactor-g…
Add security advisory for vuln #75 in 2022
PR #74506: Adds missing datatype support for various tflite operations
PR #74506: Adds missing datatype support for various tflite operations
PR #74506: Adds missing datatype support for various tflite operations
PR #74506: Adds missing datatype support for various tflite operations
PR #74506: Adds missing datatype support for various tflite operations
Tflite floor adds missing datatype support (#75)