Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 8314  / 1 Year ago, fri, april 21, 2023, 12:49:03

  • I know pip is a package manager for python packages. However, I saw the installation on iPython's website use conda to install iPython.

  • Can I use pip to install iPython? Why should I use conda as another python package manager when I already have pip?

  • And what is the difference between pip and conda?


More From » python

 Answers
7

conda is a package management tool for installing scientific and analytical computing packages, which may be written in Python or other programming languages. conda also creates a virtual environment, like python-virtualenv does. conda is the package manager of Anaconda. Anaconda is a free Python distribution provided by Continuum Analytics, which includes over 195 of the most popular Python packages for science, math, engineering and data analysis, almost all of which are also available in the default Ubuntu repositories. Anaconda is known for making a big mess out of the default paths for many Python modules in Linux. For these reasons I don't recommend Anaconda for new Linux users.


pip is a general purpose Python package installer. In addition, python-pip and python3-pip are in the default Ubuntu repositories. In most cases you would choose pip instead of conda if you want to install a Python package management application. To create a Python virtual environment without installing conda, you can install python-virtualenv from the Ubuntu Software Center.


pip and conda use different packaging formats so they do not operate interchangeably, but you can use both tools side by side.


[#21667] Saturday, April 22, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gigglcept

Total Points: 113
Total Questions: 105
Total Answers: 125

Location: Christmas Island
Member since Wed, Jan 13, 2021
3 Years ago
gigglcept questions
Mon, Jul 5, 21, 19:38, 3 Years ago
Thu, May 27, 21, 13:35, 3 Years ago
Tue, Feb 8, 22, 09:59, 2 Years ago
Fri, Dec 16, 22, 12:32, 1 Year ago
;