Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post link scripts fail when using micromamba in constructor #3575

Open
3 tasks done
chrisburr opened this issue Nov 5, 2024 · 0 comments
Open
3 tasks done

Post link scripts fail when using micromamba in constructor #3575

chrisburr opened this issue Nov 5, 2024 · 0 comments

Comments

@chrisburr
Copy link
Contributor

Troubleshooting docs

  • My problem is not solved in the Troubleshooting docs

Anaconda default channels

  • I do NOT use the Anaconda default channels (pkgs/* etc.)

How did you install Mamba?

Mambaforge or latest Miniforge

Search tried in issue tracker

conda-standalone

Latest version of Mamba

  • My problem is not solved with the latest version

Tried in Conda?

Not applicable

Describe your issue

When using micromamba in conda constructor post link scripts fail:

Linking gdk-pixbuf-2.42.12-h7ddc832_0
Error unknow MAMBA_EXE: "/var/folders/1g/q2y74s696ng0v_cmb9sv7qgr0000gn/T/tmp.jbQeYhceBX/fake-home/micromambaexample/_conda", filename must be mamba or micromamba
/var/folders/1g/q2y74s696ng0v_cmb9sv7qgr0000gn/T/mambafu7rfzq1uyo: line 3: _conda: command not found

Linking gts-0.7.6-he42f4ea_4
Linking pip-24.3.1-pyh145f28c_0
Linking cairo-1.18.0-hb4a6bf7_3
Linking libgd-2.3.3-hac1b3a8_10
Linking harfbuzz-9.0.0-h997cde5_1
Linking pango-1.54.0-h9ee27a3_2
Linking gtk2-2.24.33-h91d5085_5
Linking librsvg-2.58.4-h40956f1_0
Error unknow MAMBA_EXE: "/var/folders/1g/q2y74s696ng0v_cmb9sv7qgr0000gn/T/tmp.jbQeYhceBX/fake-home/micromambaexample/_conda", filename must be mamba or micromamba
/var/folders/1g/q2y74s696ng0v_cmb9sv7qgr0000gn/T/mambafyv3elqcc83: line 3: _conda: command not found

Linking graphviz-12.0.0-hbf8cc41_0
Error unknow MAMBA_EXE: "/var/folders/1g/q2y74s696ng0v_cmb9sv7qgr0000gn/T/tmp.jbQeYhceBX/fake-home/micromambaexample/_conda", filename must be mamba or micromamba
/var/folders/1g/q2y74s696ng0v_cmb9sv7qgr0000gn/T/mambaf5ajrk6lett: line 3: _conda: command not found

To reproduce create construct.yaml containing:

name: MicromambaExample
version: 0.0.1
channels:
  - conda-forge

write_condarc: False

specs:
  - graphviz

And then run:

$ micromamba create --name test constructor micromamba
$ micromamba activate test
$ constructor . --conda-exe $CONDA_PREFIX/bin/micromamba
$ HOME=$PWD/fake-home bash MicromambaExample-0.0.1-MacOSX-arm64.sh

mamba info / micromamba info

No response

Logs

No response

environment.yml

No response

~/.condarc

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant