-
Notifications
You must be signed in to change notification settings - Fork 74.6k
Creating a specific 3.6 binary for Linux #14182
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
Comments
same issue on MacOS 10.12.6 |
same problem on Linux Ubuntu 16.04 |
@gunan : Do we have any updates on the resources we have to support Python 3.6 releases? |
@av8ramit looks like there were divergences which prevent us from using the same pip packages on python 3.5 and 3.6 |
Same issue on Linux CentOS 7 |
Same issue after upgrade Tensorflow from 1.3 to 1.4 on Mac High Sierra 10.13.1 using Python 3.6.2. |
FWIW, python3.5 still works |
ANything that can be changed here? |
Same problem using virtualenv after upgrading from Ubuntu 17.04 to 17.10. |
Same on Ubuntu 14.04 |
Same issue on Fedora 26 with Python 3.6.2. |
Same issue on OSX 10.12.5 with Python 3.6.3 |
Same issue on OSX with Python 3.6.2 |
Only posting because I didn't see my environment mentioned:
|
I have tried both 3.5 and 3.6 (macOS High Sierra). Hope this helps. |
same problem on Linux Ubuntu 17.10 Clean 17.10 Ubuntu Server install on Python 3.6.3 (native pip install tensorflow) |
Same issue on OSX 10.12.6 with Python 3.6.3(virtualenv installation)
|
Same issue using this Docker file error:
|
Hi, See the Traceback below Pls let me know ways to resolve this error. Or will it be resolved only when the warning is resolved!! |
Same issues on Ubuntu 16.04 64bit virtualenv python3 |
Does it break stuff or can I ignore the warning? |
Quite strange since the prior version worked fine with 3.6 (and it's packages), so it would seem that this should be a pretty simple fix? |
same issue with the just released 1.4 version... |
Just to add to what @dsitnik said, simple hello world to reproduce on Fedora 26 venv
|
Same issue on OSX 10.11.6, in an Anaconda virtual environment with Python 3.6.3 and attempting upgrade from TensorFlow 1.3 to 1.4. |
Same issue. |
Same issue on Ubuntu 16.04 LTS. |
We are not offering a native python3.6 binary for mac anytime soon. As for the cuda9 issue, tf-nightly is built from HEAD at master every night, and I believe the latest binaries require cuda9. Try using an older version of tf-nightly. (Maybe 1208 or something) Windows has a native python3.6 binary so you will not see this issue. |
Thanks @av8ramit For those who have the (arbitrary) preference of only wanting to use official releases, the following is correct?
|
The same issue appears while I use Anaconda 3-5.0.1-Linux-x86_64.sh(Python3.6) and TensorFlow 1.4. |
For what it's worth, the issue was discussed in a Hacker News thread about the 1.4 release (https://news.ycombinator.com/item?id=15647790). User allenlavoie responded:
|
Dear Tensorflow QA team. Please add some unit tests!!! Happy NY |
You can create whl from source using following link steps. http://www.python36.com/install-tensorflow141-gpu/ . Let me informed if it worked. |
Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly. |
Official releases now (1.5+) have a native python3.6 image build on Ubuntu 16.04. We do not build a python3.6 specific binary for mac. Windows has native 3.6 as well. |
@av8ramit , I have 1.4.1 and you said that official releases now have .... yet, When I do: It says that: |
You guys could get python3.6 specific binary for mac/linux/windows from here: |
@av8ramit I manually downloaded 1.5.0rc1 cp36 manylinux wheel and installed successfully. The warning message has disappeared when import tensorflow in python 3.6 However, I think there is issue with pip. See below please. Do you need me to start a new issue, or am I just doing something wrong? When I do: It does find the 1.5.0rc1 cp36 manylinux wheel, as well as rc0 and older version wheels (both rc and non-rc):
but at the end this does not register somehow with pip to be the latest version:
I may be completely wrong, but it seems pip is not catching the versions with rc in the version number. I don't know if this is pip's error or tensorflow's error, but it seems to be an issue. Or am I wrong? |
@tylerlekang pip fetch the latest stable release by default (see https://pip.pypa.io/en/stable/reference/pip_install/#pre-release-versions) try using: |
@attiasr Oh! Well ... that's embarrassing! How long does it take the rc to turn into stable, and are there usually any changes once released as rc? Well I guess I can answer my own question by fact that there has already been rc0 and rc1 of 1.5.0 ..... Thanks! |
@tylerlekang np |
python3.6 -m pip install https://github.com/lakshayg/tensorflow-build/raw/master/tensorflow-1.4.0-cp36-cp36m-linux_x86_64.whl |
Thanks @Karthick333031 it works for me (MacOS 10.12.6) |
Running: Python 3.6.5 |
Thanks, @umang6891! It solved the problem for me. With the warning, my example hanged forever without failing, but now it runs. It looks like the problem is the version in pip. |
@umang6891 's solution works good for me, and I am using a python3.6 virtualenv. |
System information
Environment capture text:
https://github.com/tensorflow/tensorflow/tree/master/tools/tf_env_collect.sh
tf_env.txt
You can obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
This command also results in the same error.
/home/raju/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
return f(*args, **kwds)
Describe the problem
When importing tensorflow , I get this error. I found some information on "Feature request: nightly build for python 3.6 #12935" --"Yes, we unfortunately copy the 3.5 binary for 3.6 I'll look into creating a specific 3.6 binary for Linux."
Source code / logs
$import tensorflow as tf
result is
/home/raju/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: compiletime version 3.5 of module 'tensorflow.python.framework.fast_tensor_util' does not match runtime version 3.6
return f(*args, **kwds)
The text was updated successfully, but these errors were encountered: