简体   繁体   中英

How to install Tensorflow via conda for Python 3.10.*?

I am using miniconda, v4.13.0, I can install Tensorflow using conda install tensorflow to my conda environment if its Python version 3.9.* However I would like to use Python 3.10.*

If the Python version is 3.10.* in my conda environment then command conda install tensorflow gives the specification incompatibility error:

  • tensorflow -> python[version='3.5. |3.6. |>=3.5,<3.6.0a0|>=3.6,<3.7.0a0|>=3.7,<3.8.0a0|3.8. |3.7. |3.9.*']

Question

Is there any way to install Tensorflow via conda where the Python version is 3.10.*?

You can find here tensorflow github PR

https://github.com/tensorflow/addons/pull/2635

You can use the below command to install TensorFlow using python 3.10:

conda create --name tf python=3.10
conda activate tf

Please check this link for reference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM