GLIBC_2.xx not found while installing tensorflow

The error “GLIBC_2.xx not found” is usually seen when someone installs tensorflow on a relatively outdated machine.

Solution

Install Conda.

Details

1. download MiniConda: https://conda.io/miniconda.html

2. install it: 

chmod +x Miniconda3-latest-Linux-x86_64.sh 
./Miniconda3-latest-Linux-x86_64.sh 

3. create a new environment:

conda create -n myenv python=3.6

4.  activate it

source activate myenv

5. install tensorflow using conda (within the environment myenv)

conda install tensorflow

6. list what packages you have installed by: 

conda list

7. done. run any python program using tensorflow within the environment

python xxx.py

Reference

Comments of KrnTneja from https://github.com/tensorflow/tensorflow/issues/527

 

 

Leave a comment

Your email address will not be published. Required fields are marked *