Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named copyreg #192

Closed
blacknes opened this issue Nov 13, 2015 · 3 comments
Closed

ImportError: No module named copyreg #192

blacknes opened this issue Nov 13, 2015 · 3 comments

Comments

@blacknes
Copy link

when I use OS X system to write first tensorflow program,I get some error message, who can tell me how to fix it??

here is error message

bogon:~ ra$ python
Python 2.7.10 (default, Jul 14 2015, 19:46:27)
[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

@Sashkan
Copy link

Sashkan commented Nov 13, 2015

Search in issues. Someone already answered.

@vrv
Copy link

vrv commented Nov 13, 2015

Solutions described in our install instructions at the bottom. Let us know if that doesn't help!

@vrv vrv closed this as completed Nov 13, 2015
@blacknes
Copy link
Author

thanks

tensorflow-copybara pushed a commit that referenced this issue Oct 17, 2019
…ocal array

This pattern is error prone and unfortunately none of the sanitizer is catching
it at the moment.

Fixes #192

Closes #193

COPYBARA_INTEGRATE_REVIEW=tensorflow/mlir#193 from joker-eph:fix_array_ref 8092252e64c426c6a8a790b7638f847bea4818b1
PiperOrigin-RevId: 275280201
Change-Id: I501feaf08db418c27263003cf07102d168c56cf2
tensorflow-copybara pushed a commit that referenced this issue Nov 19, 2019
…ocal array

This pattern is error prone and unfortunately none of the sanitizer is catching
it at the moment.

Fixes #192

Closes #193

COPYBARA_INTEGRATE_REVIEW=tensorflow/mlir#193 from joker-eph:fix_array_ref 8092252e64c426c6a8a790b7638f847bea4818b1
PiperOrigin-RevId: 275280201
cjolivier01 pushed a commit to Cerebras/tensorflow that referenced this issue Dec 6, 2019
…pstream-deven-unit-test-fix

updating Dockerfile.rocm to use a newer MIOpen version that contains Fusion API updates/fixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants