当前位置:网站首页>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 》
边栏推荐
- 【开源项目推荐-ColugoMum】这群本科生基于国产深度学习框架PaddlePadddle开源了零售行业解决方案
- Oauth2.0 - use database to store client information and authorization code
- Project summary --04
- Introduction to software engineering
- Important knowledge points of redis
- 从 Amazon Aurora 迁移数据到 TiDB
- 【无标题】8 简易版通讯录
- 使用 Abp.Zero 搭建第三方登录模块(一):原理篇
- opencv
- 简易密码锁
猜你喜欢
随机推荐
Kubesphere - set up redis cluster
Scroll view specifies the starting position of the scrolling element
SQL实现将多行记录合并成一行
深入解析kubernetes controller-runtime
Print time Hahahahahaha
MATLAB如何修改默认设置
Oracle database synonym creation
GPS坐标转百度地图坐标的方法
使用 Abp.Zero 搭建第三方登录模块(一):原理篇
arcgis创建postgre企业级数据库
Migrate data from Amazon aurora to tidb
Paper notes vsalm literature review "a comprehensive survey of visual slam algorithms"
The win7 computer can't start. Turn the CPU fan and stop it
Mysql
【无标题】8 简易版通讯录
Exportation et importation de tables de bibliothèque avec binaires MySQL
Cesium Click to obtain the longitude and latitude elevation coordinates (3D coordinates) of the model surface
Une exploration intéressante de l'interaction souris - pointeur
【C#/VB.NET】 将PDF转为SVG/Image, SVG/Image转PDF
UNI-APP中条件注释 实现跨段兼容、导航跳转 和 传参、组件创建使用和生命周期函数
![[system design] proximity service](/img/4a/2e68536cbe385af1d1a591e674fbf0.png)








