Intel® Distribution for Python*
Engage in discussions with community peers related to Python* applications and core computational packages.
428 Discussions

Cannot install tensorflow 2.14.0 from Intel conda channel

Orion_P_
New Contributor I
7,317 Views

$ conda create -n intel -c intel tensorflow=2.14.0
Channels:
- intel
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
- nothing provides flatbuffers >=23.5.26 needed by tensorflow-2.14.0-py310_1

Could not solve for environment specs
The following package could not be installed
└─ tensorflow 2.14.0** is not installable because it requires
└─ flatbuffers >=23.5.26 , which does not exist (perhaps a missing channel).

0 Kudos
1 Solution
SreedeviK_Intel
Moderator
7,280 Views

Hi,

 

Good day to you.

 

Thanks for posting in Intel communities.

 

For installing TensorFlow 2.14.0 package, flatbuffers package version >=23.5.26 is required as per the generated error:

Could not solve for environment specs

The following package could not be installed

└─ tensorflow 2.14.0** is not installable because it requires

└─ flatbuffers >=23.5.26 , which does not exist (perhaps a missing channel).

 

The latest version of this package is only available in the conda-forge channel. So kindly follow the below commands to create the environment and install TensorFlow version 2.14.0:

$ conda create -n intel -c intel python=3.10
$ conda activate intel
$ conda install -c conda-forge flatbuffers
$ conda install tensorflow=2.14.0

 

SreedeviK_Intel_0-1701947013625.png

 

If this resolves your issue, kindly mark it as a solution as this would help others with a similar issue.

 

Regards,

Sreedevi

 

 

View solution in original post

0 Kudos
4 Replies
Orion_P_
New Contributor I
7,311 Views

Something is wonky:

$ conda search -c intel tensorflow=2.14.0
Loading channels: done
# Name Version Build Channel
tensorflow 2.14.0 py310_1 intel
tensorflow 2.14.0 py39_1 intel

 

$ conda create -n intel -c intel intel::tensorflow=2.14.0
Channels:
- intel
- defaults
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

- intel::tensorflow==2.14.0

Current channels:

- https://conda.anaconda.org/intel
- defaults
- https://conda.anaconda.org/intel
0 Kudos
SreedeviK_Intel
Moderator
7,281 Views

Hi,

 

Good day to you.

 

Thanks for posting in Intel communities.

 

For installing TensorFlow 2.14.0 package, flatbuffers package version >=23.5.26 is required as per the generated error:

Could not solve for environment specs

The following package could not be installed

└─ tensorflow 2.14.0** is not installable because it requires

└─ flatbuffers >=23.5.26 , which does not exist (perhaps a missing channel).

 

The latest version of this package is only available in the conda-forge channel. So kindly follow the below commands to create the environment and install TensorFlow version 2.14.0:

$ conda create -n intel -c intel python=3.10
$ conda activate intel
$ conda install -c conda-forge flatbuffers
$ conda install tensorflow=2.14.0

 

SreedeviK_Intel_0-1701947013625.png

 

If this resolves your issue, kindly mark it as a solution as this would help others with a similar issue.

 

Regards,

Sreedevi

 

 

0 Kudos
Orion_P_
New Contributor I
7,264 Views

Okay, I was not sure that it was expected to have to use the conda-forge channel.  Thank you for confirming that.

0 Kudos
SreedeviK_Intel
Moderator
7,243 Views

Hi,

 

Thanks for accepting our solution.

 

If you are using latest Tensorflow package which is available in the Intel channel, flatbuffers are not required. Since, you are using Tensorflow(2.14.0), flatbuffers package version >=23.5.26 is required.


You can try using the below command to create a Python 3.10 environment and install the latest Tensorflow available in the Intel channel by using the following command:

 

conda create -n intel -c intel python=3.10 tensorflow


If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.

 

Regards,

Sreedevi

 

 

 

0 Kudos
Reply