python – How to install tensorflow-gpu from anaconda?

I have run some very basic steps (tensorflow-gpu is currently at 2.12.1):

conda create --name py311_tf212 python=3.11 numpy numba scipy spyder pandas
conda activate py311_tf212
time conda install -c conda-forge tensorflow-gpu

After 3 hours of thinking and printing a few thousand lines of package dependencies, the installation fails. I’m running Ubuntu 18.04, feature:/linux-64::__glibc==2.27, CUDA 11.8, Nvidia driver 520.61.05. I’m not sure what other information is relevant. I’d be happy to get any tips.

Read more here: Source link