官术网_书友最值得收藏!

There's more... 

Some of you may question the necessity of installing Anaconda and using conda to manage packages since it is easy to install packages with pip. In fact, conda is a better packaging tool than pip. We mainly use conda for the following four reasons:

  • It handles library dependencies nicely: Installing a package with conda will automatically download all of its dependencies. However, doing so with pip will lead to a warning, and installation will be aborted.
  • It solves conflicts of packages gracefully: If installing a package requires another package of a specific version (let's say 2.3 or after, for example), conda will update the version of the other package automatically.
  • It creates a virtual environment easily: A virtual environment is a self-contained package directory tree. Different applications or projects can use different virtual environments. All virtual environments are isolated from each other. It is recommended to use virtual environments so that whatever we do for one application doesn't affect our system environment or any other environment.
  • It is also compatible with pip: We can still use pip in conda with the following command:
conda install pip
主站蜘蛛池模板: 包头市| 达日县| 若尔盖县| 常山县| 商城县| 巴青县| 太白县| 湘阴县| 建德市| 同心县| 萨嘎县| 日喀则市| 利津县| 滦平县| 宁南县| 淳安县| 醴陵市| 潞西市| 进贤县| 达拉特旗| 广河县| 上栗县| 长宁县| 芦溪县| 和平区| 长寿区| 双辽市| 修武县| 中江县| 军事| 安徽省| 恩平市| 内江市| 莎车县| 澜沧| 承德县| 基隆市| 来安县| 赣州市| 布尔津县| 河西区|