Skip to content

Support mutiple package managers for environment creation #24

@Soap2G

Description

@Soap2G

The current install_from_environment correctly identifies both Conda and Pip dependencies within the file, but it deliberately installs only the Pip packages.

We shuold support both Conda and Pip as package managers, providing a more complete and versatile environment setup tool.

Proposal

The script should:

  • Detect the available package manager: Check if conda or mamba is available in the system's environm
  • Install Conda Dependencies: If Conda/Mamba is available, use it to install the packages listed in the conda_packages list.
  • Install Pip Dependencies: Continue to use pip to install the packages listed in the pip_packages list, as is the current behavior.
  • Error Handling: If Conda is required for certain packages but not available, the script should raise an informative error to the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions