Giter Club home page Giter Club logo

Comments (4)

nicoddemus avatar nicoddemus commented on May 28, 2024

Thanks @EricAtORS,

For reference mamba support was introduced in #110

cc @marcelotrevisani

from conda-devenv.

EricAtORS avatar EricAtORS commented on May 28, 2024

Thanks @nicoddemus
I dug a bit more, it looks like mamba devenv is just calling /miniconda3/bin/conda-devenv

from conda-devenv.

prusse-martin avatar prusse-martin commented on May 28, 2024

This is expected.

conda-devenv should then be calling mamba to update the env.
https://github.com/ESSS/conda-devenv/blob/2.2.0/conda_devenv/devenv.py#L422-L434

The problem is that mamba detection is failing...
As you pointed out, since it calls /miniconda3/bin/conda-devenv that is returned in env_manager = sys.argv[0] causing it to fallback to conda (not mamba) to update the resulting env.
That is indeed not the desired result.

from conda-devenv.

prusse-martin avatar prusse-martin commented on May 28, 2024
  • Now it is possible to use mamba with conda-devenv (#134):
    • Pass --env-manager in the command-line.
    • Set the CONDA_DEVENV_ENV_MANAGER=mamba environment variable.

from conda-devenv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.