Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference in installing tensorflow with pip command and conda or directing cloning?

Tags:

tensorflow

For the first time I'v installed tensorflow with conda installation. Then I actually work with a seq2seq model. After that I have again installed the tensorflow with the pip installation. But now the libraries are very different. All the old scripts are misplaced etc. Why is that ? Why I didn't face this when I was working with coda instillation

like image 812
Shamane Siriwardhana Avatar asked Mar 09 '17 21:03

Shamane Siriwardhana


People also ask

Should you install TensorFlow with pip or conda?

TensorFlow requires a recent version of pip, so upgrade your pip installation to be sure you're running the latest version. Then, install TensorFlow with pip. Note: Do not install TensorFlow with conda.

What is the difference between pip install and conda install?

The fundamental difference between pip and Conda packaging is what they put in packages. Pip packages are Python libraries like NumPy or matplotlib . Conda packages include Python libraries (NumPy or matplotlib ), C libraries ( libjpeg ), and executables (like C compilers, and even the Python interpreter itself).

Is Anaconda same as pip?

Built into Anaconda, conda is a powerful package manager and environment manager that you use with command-line in the Anaconda Prompt for Windows, or in a terminal window for macOS or Linux. pip is the standard package manager for python, meaning you can use it both inside and outside of Anaconda.

Can you conda install TensorFlow?

Anaconda makes it easy to install TensorFlow, enabling your data science, machine learning, and artificial intelligence workflows.


1 Answers

It has been claimed that Tensorflow installed with Conda performs a lot faster than a Pip installation, for example:

https://towardsdatascience.com/stop-installing-tensorflow-using-pip-for-performance-sake-5854f9d9eb0c

Conda also installs all of the package dependencies automatically, which Pip does not, as far as I'm aware.

https://www.anaconda.com/blog/developer-blog/tensorflow-in-anaconda/

like image 156
Pog Le Pog Avatar answered Sep 22 '22 05:09

Pog Le Pog