How to install TensorFlow in Anaconda environment
(reference : https://www.tensorflow.org/install/install_mac)
These are very quick instructions for installing Docker under Mac OSX and for running Tensorflow on it. This is a summarized version of the longer explanations given on the official TensorFlow Install page.
Installing TensorFlow on macOS
This guide explains how to install TensorFlow on macOS. Although these instructions might also work on other macOS variants, we have only tested (and we only support) these instructions on machines meeting the following requirements:
Note: There are known, accuracy-affecting numerical issues before macOS 10.12.6 (Sierra) that are described in GitHub#15933.Note: As of version 1.2, TensorFlow no longer provides GPU support on macOS.Determine how to install TensorFlow
You must pick the mechanism by which you install TensorFlow. The supported choices are as follows:
We recommend the Virtualenv installation. Virtualenv is a virtual Python environment isolated from other Python development, incapable of interfering with or being affected by other Python programs on the same machine. During the Virtualenv installation process, you will install not only TensorFlow but also all the packages that TensorFlow requires. (This is actually pretty easy.) To start working with TensorFlow, you simply need to 'activate' the virtual environment. All in all, Virtualenv provides a safe and reliable mechanism for installing and running TensorFlow.
In Anaconda, you may use conda to create a virtual environment. However, within Anaconda, we recommend installing TensorFlow with the pip install command, not with the conda install command.
NOTE: The conda package is community supported, not officially supported. That is, the TensorFlow team neither tests nor maintains the conda package. Use that package at your own risk.Installing with Anaconda
The Anaconda installation is community supported, not officially supported.
Take the following steps to install TensorFlow in an Anaconda environment:
Be careful when you import TensorFlow in AnacondaHow to fix errorhttps://stackoverflow.com/questions/44619596/tensorflow-import-error-in-anaconda
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2023
Categories |