conda
An open-source package and virtual environment management system that supports installation and version compatibility checking for Python and non-Python dependencies, including compiled C and Fortran libraries. It allows users to create mutually isolated virtual environments, making it widely used in scientific computing and machine learning workflows.
Timeline (last 90 days)
A common way to deal with environment configuration issues is to use virtual environments (such as venv or conda) or containers (such as Docker) to isolate projects, and to clearly tell the AI the current environment version in the prompt.
Modifying the .condarc file in the user directory can replace conda's default mirror source, for example replacing it with the Tsinghua mirror source to improve download speed.
Dependency management ensures that the third-party libraries the project needs are correctly installed on the server with compatible versions; common tools include Python's pip/conda, Node.js's npm, and Java's Maven.
The conda list command is used to list all libraries currently installed in Anaconda.
Anaconda relies on an underlying package and environment management system called conda.
conda supports creating mutually isolated virtual environments, allowing different projects to use different versions of Python and libraries.
The command conda install <library name> is used to install a new library, and conda update <library name> is used to update a specified library.
After using Anaconda, when learning TensorFlow, the library still needs to be separately installed using conda install.
The command conda create -n lumchainenv python=3.10 can be used to create an isolated environment named lumchainenv with Python version 3.10.
In addition to installing dependencies, conda install checks the compatibility of new dependencies with existing ones, making it safer but slower; pip install only handles downloading and installing the corresponding package and its dependencies, making it faster.
2 more timeline events
All Facts (13)
A common way to deal with environment configuration issues is to use virtual environments (such as venv or conda) or containers (such as Docker) to isolate projects, and to clearly tell the AI the current environment version in the prompt.
50%UnverifiedModifying the .condarc file in the user directory can replace conda's default mirror source, for example replacing it with the Tsinghua mirror source to improve download speed.
50%UnverifiedDependency management ensures that the third-party libraries the project needs are correctly installed on the server with compatible versions; common tools include Python's pip/conda, Node.js's npm, and Java's Maven.
50%Unverifiedconda supports creating mutually isolated virtual environments, allowing different projects to use different versions of Python and libraries.
50%UnverifiedAnaconda relies on an underlying package and environment management system called conda.
50%UnverifiedThe conda list command is used to list all libraries currently installed in Anaconda.
50%UnverifiedThe command conda install <library name> is used to install a new library, and conda update <library name> is used to update a specified library.
50%UnverifiedAfter using Anaconda, when learning TensorFlow, the library still needs to be separately installed using conda install.
50%UnverifiedThe command conda create -n lumchainenv python=3.10 can be used to create an isolated environment named lumchainenv with Python version 3.10.
50%UnverifiedIn addition to installing dependencies, conda install checks the compatibility of new dependencies with existing ones, making it safer but slower; pip install only handles downloading and installing the corresponding package and its dependencies, making it faster.
50%Unverifiedconda is a cross-platform package manager provided by the Anaconda distribution that manages not only Python packages but also low-level dependencies such as C/C++.
50%UnverifiedPython 虚拟环境(venv、conda)只能隔离 Python 包,无法隔离系统级依赖如 C 库、CUDA 运行时
50%Unverifiedvenv is a virtual environment tool built into Python 3.3+, achieving dependency isolation by creating an independent interpreter copy and a site-packages directory under the project directory.
50%