Let’s follow the instructions step-by-step.ġ) We’ve already downloaded and installed Anaconda.Ģ) Create a conda environment named tensorflow to run Python 3.6 (as an unprivileged user): $ module load pythonģ) Activate the conda environment: $ source activate tensorflowĤ) Install the latest TensorFlow release (1.4.0 as of this writing) inside the conda environment: (tensorflow)$ pip install -ignore-installed -upgrade Include_dirs = Incorrect way of installing TensorFlow with Anacondaīefore I show you the proper way of installing TensorFlow with Anaconda, I’d like to point out that there are a couple of deficiencies in the official TensorFlow documentation on Installing with Anaconda. Type "help", "copyright", "credits" or "license" for more information.ĭefine_macros = One crucial reason that Anaconda Python provides much higher performance than the stock Python is that it uses the highly optimized Intel MKL for some of most popular numerical/scientific Python libraries, including NumPy, SciPy & Scikit-Learn: $ python
Note here we use module to facilitate the usage of multiple Python distributions on Hydra.
#Anaconda 4 update
I chose to install it at system location /opt/anaconda2 and thus made it available to all users.Ĥ) Update Anaconda 2: # module swap python/anaconda3 python/anaconda2
The default install location is $HOME/anaconda2, so any user can install a private copy. I chose to install it at system location /opt/anaconda3 and thus made it available to all users.Ģ) Update Anaconda 3: # conda update condaģ) Download the latest Anaconda2 for Linux Installer (v5.0.1 as of this writing) and install it: # wget The default install location is $HOME/anaconda3, so any user can install a private copy. One should use Anaconda Python, rather than the stock Python that comes with your Linux distros, for any serious computation.ġ) Download the latest Anaconda3 for Linux Installer (v5.0.1 as of this writing) and install it: # wget Anaconda provides high performance computing with: