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

tensorflow on Python 3.7 #21205

Closed
ghost opened this issue Jul 28, 2018 · 2 comments
Closed

tensorflow on Python 3.7 #21205

ghost opened this issue Jul 28, 2018 · 2 comments
Assignees
Labels
stat:awaiting response Status - Awaiting response from author

Comments

@ghost
Copy link

ghost commented Jul 28, 2018

I upgraded to python 3.7.

Now when I try to run it in jupyter notebook or in terminal, I receive following errors:

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 2963, in run_code
exec(code_obj, self.user_global_ns, self.user_ns)

File "", line 4, in
import tensorflow as tf

File "/usr/local/lib/python3.7/site-packages/tensorflow/init.py", line 22, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import

File "/usr/local/lib/python3.7/site-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow

File "/usr/local/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *

File "/usr/local/lib/python3.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 114
def TFE_ContextOptionsSetAsync(arg1, async):
^
SyntaxError: invalid syntax

@tensorflowbutler tensorflowbutler added the stat:awaiting response Status - Awaiting response from author label Jul 29, 2018
@tensorflowbutler
Copy link
Member

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

@ppwwyyxx
Copy link
Contributor

duplicate of #20517

@gunan gunan closed this as completed Jul 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat:awaiting response Status - Awaiting response from author
Projects
None yet
Development

No branches or pull requests

4 participants