Location>code7788 >text

Differences between venv, virtualenv, pipenv, poetry, miniforge, and anaconda, tools for managing Python environments and dependencies

Popularity:265 ℃/2024-11-11 18:34:25
  • Alternatives to Anaconda

    • Miniforge is a lightweight alternative to Anaconda, based on the Conda package manager.
    • It provides similar functionality to Anaconda, but is smaller and faster to install.
    • leave it (to sb)conda-forge Community Maintenance.
  • Environmental management

    • Miniforge Using Conda to manage virtual environments, you can create separate environments, each with its own set of Python interpreters and packages.
    • Provides rich environment management features such as environment export and import.
  • package management

    • Miniforge Manage packages with Conda, a cross-platform package management system that supports multiple languages and tools.
    • Packages from Anaconda repositories and other custom repositories can be installed.
  • Usage Scenarios

    • Ideal for projects that need to manage complex dependencies and multi-language environments.
    • For projects requiring high performance computing and scientific computing.
    • For projects that require cross-platform support.
  • usage example

    # mounting Miniforge - Linux
    wget /conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh
    bash Miniforge3-Linux-x86_64.sh
    
    # Creating the Environment
    conda create --name my_env python=3.13
    conda activate my_env
    
    # mounting包
    conda install requests