-
Notifications
You must be signed in to change notification settings - Fork 300
Publish to conda-forge #676
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
We certainly want to support conda-forge. Though I don't have a lot of (or any) experience with conda-forge so it may take some time for me to get this thing going. |
If anyone can help getting this started or some pointers, will be much appreciated. |
With GitHub Actions supported (See #645), I think conda-forge support will be easier. |
This would be good to have. I don't have much experience with publishing to Conda, but I can give this a shot if no one is able to get to it first. |
@BryanCutler That would be great 👍 ! I will try to see if I can help as well. |
I'm looking into this now, will report back soon |
It looks like the latest version of TensorFlow in conda is v1.13.2 see https://anaconda.org/conda-forge/tensorflow/files?page=1. Would it be better to hold off on this until TF 2.0 is released in conda? |
We've had some discussion about this for tf-addons that may be of use: Anaconda packages a tf2.0 but I'm not sure who is managing the conda-forge version. |
Thanks @seanpmorgan @BryanCutler . By looking at https://github.com/conda-forge/tensorflow-feedstock it looks like tensorflow-feedstock repo is not well maintained. The last update was 09/30/2019 which is 3 months old. Wondering if there is a way to move forward the tf 2.0 in conda-forge? |
@yongtang There is already an open PR to update to 2.0 conda-forge/tensorflow-feedstock#97 generated by the bot. Either fix this PR or port the way Anaconda builds |
Thanks @xhochy. Not very familiar with conda recipes/feedstock but I will try to take a look. |
Created a working in progress PR conda-forge/tensorflow-feedstock#101 Still too many issues to build. One dependency is the Bazel. When building Bazel gcc version is old. need more time to moving forward. |
After several fixes, the windows and OS X build in conda-forge/tensorflow-feedstock#101 are managed to run. However, it looks like after some time, there is no output anymore. (OS X timed out). Don't know what really happened. May need more time to figure it out. |
I gave another try with conda-forge recently conda-forge/staged-recipes#10913 unfortunately still face lots of confusion issues. Will have to see if they could be done later. |
https://github.com/tensorflow/io have info of compatibility between tensorflow and tensorflow-io, for tf 2.0, you have to install tensorflow-io 0.10.0, please try "pip install tensorflow-io==0.10.0" |
I also installed tensorflow via I am running in linux (Ubuntu 18.04) However if I try to import tensorflow_io in python I am also getting an error similar to the original post. Don't know if this additional info helps or not.
|
I have exactly the same issue as above |
Same issue as above |
FWIW I was able to compile v0.12.0 from source against my conda installed tensorflow-gpu 2.1.0 and pip install the built package, and now everything seems to work correctly. This worked on my machine and inside a docker image (both linux distros). Obviously not ideal, but shows that it should be possible, and is a fix for anyone who needs one now. |
Thanks for your suggestion @chrissype but I am stuck at the
Yet, when I do |
You have to run setup.py first to make the wheels binary I think, something like:
And then:
And then you'll need to be in a different directory when you try and |
@gabrielctn @chrissype Because tensorflow/io needs to carry the shared objects built by Bazel and located in a separate directory ( As a result, the traditional |
I also meet the same case. I compile the TF 2.4.2 locally due to some special function added, and then install tensorflow-io with version 0.17.1. |
I installed tensorflow from conda-forge and tensorflow_io with pip. However importing tensorflow_io failed with an error
It seems the tensorflow_io wheel on pypi was not built with C++11 ABI. Could you publish a compatible version to conda-forge if you have to support older OSs? Thanks.
The text was updated successfully, but these errors were encountered: