当前位置:网站首页>The difference between CONDA and pip
The difference between CONDA and pip
2022-07-03 06:25:00 【Happy breeder】
python Why is there a package management tool for pip We also need conda?
I've been using it conda and pip , Sometimes the two are often mixed . But today, I found that the two things are not in the same place , So I found some things installed by myself , But when running the environment, I find that the package is always unrecognized , I've always been very confused , Until today, I have noticed this problem , So let's summarize the difference between the two .
Brief summary
pip
- pip Specialized management Python package
- Compile everything in the source code . ( Source code installation )
- By the core Python Supported by the community ( namely ,Python 3.4+ Includes automatic enhancements pip Code for ).
conda
- Python Agnostics . The main focus of the existing software package is Python, and conda In itself Python Compiling , But you can also be C Library or R The software package or any other software package provides conda software package .
- Install binaries . There is one named conda build Tools for , It can build packages from source code , but conda install It will install the built conda What's in the package .
- external . Conda yes Anaconda Package manager , from Continuum Analytics Provided Python Distribution version , But it can also be in Anaconda Use outside . You can use existing Python install , adopt pip Install it ( Although unless you have good reason to use an existing installation , Otherwise, this is not recommended ).
Further said that :
- conda It allows you to manage the installation process at the same time Relevant python Tasks and follow python Unrelated tasks , namely pip Can be installed in any environment python package ,conda Allow you to be in conda Install any language pack... In the environment ( Include C Language or python).
- conda Use a new package format , You can't alternate conda and pip, because pip Cannot install and resolve conda Package format for . You can use these two tools , But they can't interact .
- because pip Is installed from source code , So if you can't compile the source code , Then installing it can be painful ( This is in Windows This is especially true in , But if the package has some difficulties C or FORTRAN library , Even in Linux It's the same with me ) rely on ).
- Conda Install from binaries , That means someone ( for example Continuum) The hard work of compiling the software package has been completed , So the installation is very simple . however , Personal feeling conda Installation is a little slow .( relative pip Come on )
- If you are interested in building your own software package , There are also some differences . for example ,pip Based on the setuptools above , and conda Use its own format , There are some advantages to this ( For example, static , and Python I don't know ).
original text :《pip and conda The difference between 》
边栏推荐
- Judge whether the date time exceeds 31 days
- PMP笔记记录
- 有意思的鼠标指针交互探究
- The mechanical hard disk is connected to the computer through USB and cannot be displayed
- Kubernetes notes (III) controller
- Exportation et importation de tables de bibliothèque avec binaires MySQL
- Chapter 8. MapReduce production experience
- Project summary --04
- Page text acquisition
- 10万奖金被瓜分,快来认识这位上榜者里的“乘风破浪的姐姐”
猜你喜欢

Example of joint use of ros+pytoch (semantic segmentation)

CKA certification notes - CKA certification experience post

Use abp Zero builds a third-party login module (I): Principles

Selenium - 改变窗口大小,不同机型呈现的宽高长度会不一样

ROS+Pytorch的联合使用示例(语义分割)

“我为开源打榜狂”第一周榜单公布,160位开发者上榜

After the Chrome browser is updated, lodop printing cannot be called

Oauth2.0 - using JWT to replace token and JWT content enhancement

Kubernetes notes (IX) kubernetes application encapsulation and expansion

从小数据量分库分表 MySQL 合并迁移数据到 TiDB
随机推荐
conda和pip的区别
MATLAB如何修改默认设置
认识弹性盒子flex
Cesium entity (entities) entity deletion method
Oauth2.0 - Introduction and use and explanation of authorization code mode
方差迭代公式推导
Push box games C #
JMeter performance automation test
学习笔记 -- k-d tree 和 ikd-Tree 原理及对比
ODL framework project construction trial -demo
Pytorch exercise items
[leetcode] day93 - intersection of two arrays II
Various usages of MySQL backup database to create table select and how many days are left
tabbar的设置
opencv鼠标键盘事件
arcgis创建postgre企业级数据库
表达式的动态解析和计算,Flee用起来真香
【LeetCode】Day93-两个数组的交集 II
opencv
技术管理进阶——你了解成长的全貌吗?