[PYTHON] conda vs. pip

At the beginning

With Anaconda Navigator, you can build and manage virtual environments, and install and manage external libraries. I can manage the entire development environment including Jupyter Notebook, but the command conda is used to install the library.

On the other hand, Python has a command called pip that manages external libraries. If you start the terminal from any virtual environment with Anaconda Navigator, you can install it by entering the pip command. However, libraries installed with pip are not managed by Anaconda's conda because they must be managed by pip.

In some cases, conda and pip will install the same library and conflict.

Conclusion

Therefore, when using Anaconda Navigator, let's use the conda command instead of the pip command.

Reference material

  1. Difference between conda install and pip install. Function comparison, etc. [Python] https://insilico-notebook.com/conda-pip-install/
  2. Difference in NumPy speed between Anaconda's NumPy and pip https://orizuru.io/blog/machine-learning/anaconda_pip_difference/
  3. Stop Installing Tensorflow using pip for performance sake! https://towardsdatascience.com/stop-installing-tensorflow-using-pip-for-performance-sake-5854f9d9eb0c?gi=677958f0038e

Recommended Posts

conda vs. pip
pip vs conda
About package management with conda and pip
1. Reinstall pip
pip memorandum
About pip
pip installation
pip installation
What is the difference between `pip` and` conda`?