Skip to content

[BUG]: Attempting to build mcstas from conda, fails using other conda than micromamba #2396

@Lomholy

Description

@Lomholy

Describe the bug
Following this guide: https://github.com/mccode-dev/McCode/wiki/Build-your-own-McStas-or-McXtrace-via-conda%E2%80%90forge

And attempting to create the environment with the yml file on a non-micromamba conda:

conda create -f mcstas-dev.yml

fails with <ArgumentError: one of the arguments -n/--name -p/--prefix is required>.

This is apparently a known issue with conda:
conda/conda#13015

But it can be fixed by running:
<conda env create --file mcstas-dev.yml>

OS and McStas/McXtrace version (please complete the following information):

  • OS: MacOS
  • McCode variant: McStas

I believe the solution is merely to update the docs, to reflect that this is how it should be done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions