본문 바로가기
OLD_달려라/호기심천국

Pip vs Conda

by 달승 2020. 12. 5.
 

What is the difference between pip and conda?

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

stackoverflow.com

 

conda와 pip의 차이가 무엇인가요??

이번에 패키지를 설치할경우가 생겼는데 평소 윈도우환경에서 새로운 패키지를 설치할때 pip을 이용해서 설치해왔는데 conda라는게 있더라고요 다른점이 있나요??

hashcode.co.kr

 

 

🥮 pip

  • Pip installs Python packages.

 

 

🐍  conda

  • conda installs packages which may contain software written in any language.
  • conda is a packaging tool and installer that aims to do more than what pip does
  • conda also creates a virtual environment, like virtualenv does.
  • conda 를 사용해서 별도의 가상 환경을 만들어 격리(독립공간)시키고 그 격리된 공간에서 pip를 사용해서 패키지들을 설치합니다. (물론 conda 도 anaconda.org에서 관리하는 패키지들을 설치할 수 있습니다)
  • conda 같은 경우 virtualenv + pip 같은 느낌이지만 설치할 수 있는 패키지가 anaconda.org에서 관리하는 패키지로 한정된다는 제한이 있습니다.

 

 

🔅

Occasionally a package is needed which is not available as a conda package but is available on PyPI and can be installed with pip. In these cases, it makes sense to try to use both conda and pip.

🔅

Because Conda introduces a new packaging format, you cannot use pip and Conda interchangeably; pip cannot install the Conda package format. You can use the two tools side by side (by installing pip with conda install pip) but they do not interoperate either.

 

 

 

댓글