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

Conda Release supporting Windows + Python 3.11 #66217

Open
dcompiled opened this issue Apr 22, 2024 · 3 comments
Open

Conda Release supporting Windows + Python 3.11 #66217

dcompiled opened this issue Apr 22, 2024 · 3 comments
Assignees
Labels
subtype:windows Windows Build/Installation Issues type:build/install Build and install issues

Comments

@dcompiled
Copy link

dcompiled commented Apr 22, 2024

Issue type

Build/Install

Have you reproduced the bug with TensorFlow Nightly?

Yes

Source

binary

TensorFlow version

latest

Custom code

Yes

OS platform and distribution

Windows 10

Mobile device

No response

Python version

3.11

Bazel version

No response

GCC/compiler version

No response

CUDA/cuDNN version

No response

GPU model and memory

No response

Current behavior?

Unable to build a conda environment with tensorflow on python 3.11 on windows but works fine on Linux. I am aware I can use pip to install this but prefer not to. Any plans to address this?

Standalone code to reproduce the issue

(base) C:\Users\Alex>conda create -n tf python=3.11 tensorflow

Relevant log output

(base) C:\Users\Alex>conda create -n tf python=3.11 tensorflow
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: -
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versions

Package python conflicts for:
tensorflow -> absl-py[version='>=0.1.6'] -> python[version='2.7.*|>=2.7,<2.8.0a0|>=3.8,<3.9.0a0|>=3|>=3.6|>=3.7|>=3.9,<3.10.0a0|>=3.12,<3.13.0a0|>=3.10,<3.11.0a0|>=3.11,<3.12.0a0|>=3.4|>=3.12.0rc3,<3.13.0a0|3.4.*|>=3.8|>=3.5|>=3.2|>=3.2,<3.10']
python=3.11
tensorflow -> python[version='3.10.*|3.5.*|3.6.*|>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|3.9.*|3.8.*|3.7.*']
@google-ml-butler google-ml-butler bot added the type:build/install Build and install issues label Apr 22, 2024
@tilakrayal tilakrayal added the subtype:windows Windows Build/Installation Issues label Apr 23, 2024
@tilakrayal
Copy link
Contributor

@dcompiled,
Thank you for reporting the issue. We are also trying to replicate the issue in our environment. Please allow sometime to reproduce and get back to you the same. Thank you!

@tilakrayal tilakrayal added the WIP label Apr 25, 2024
@tilakrayal
Copy link
Contributor

@dcompiled,
I tried to create the conda environment with python 3.11 on Windows machine, and haven't faced any issue/error. Could you please try using the below command & activate the created environment and then install the tensorflow.

conda create --name tf python=3.11

Kindly find the screenshot for the reference.
image (26)

@tilakrayal tilakrayal added stat:awaiting response Status - Awaiting response from author and removed WIP labels Apr 26, 2024
@dcompiled
Copy link
Author

I am trying to do this using miniconda which uses conda-forge as it source. There is no current version of tensorflow in conda-forge and this is probably the root cause. Are there any plans to release a copy of tensorflow to conda-forge on windows?

@google-ml-butler google-ml-butler bot removed the stat:awaiting response Status - Awaiting response from author label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
subtype:windows Windows Build/Installation Issues type:build/install Build and install issues
Projects
None yet
Development

No branches or pull requests

2 participants