-
Notifications
You must be signed in to change notification settings - Fork 16
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
micromamba is not recognized as an internal or external command 2.0.0 #227
Comments
Was hoping Runner Logs: https://github.com/jeremyleung521/LPATH/actions/runs/11088430490/job/30931937962#step:4:362 EDIT: It's being tracked here: mamba-org/mamba#3478 |
i would expect that this is a micromamba issue. wdyt @jjerphan? |
It is. There's a problem with the activation script on Windows as of micromamba 2.0. We are currently addressing the problem. |
2.0.2 is being released and should fix this issue. |
Thank you! Just have to wait for |
I just updated to v2 (2.0.2) and still having the same problem... :/ Though this time, it's failing in the 'pip' section of the environment file.
Log file: https://github.com/jeremyleung521/LPATH/actions/runs/11182636779/job/31089361519#step:4:370 EDIT: It's this bug: mamba-org/mamba#3467. |
#234 resolved the cause of the problem. Updating |
Unfortunately it doesn't :( It works fine installing the conda packages, but I eventually get to the same error while trying to install the pip packages from the environment file. It's this error: mamba-org/mamba#3467. Logs: https://github.com/jeremyleung521/LPATH/actions/runs/11218580614/job/31182684438?pr=10#step:4:348 |
I don't really know if this is good or not, but as a temporary fix, I copied the already existing e.g. in my case I got this error:
In PowerShell, I did the following PS C:\> cd C:\Users\ika\AppData\Roaming\mamba\condabin
PS C:\Users\ika\AppData\Roaming\mamba\condabin> ls
Directory: C:\Users\ika\AppData\Roaming\mamba\condabin
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 2024/10/29 18:02 1911 _mamba_activate.bat
-a--- 2024/10/29 18:02 142 activate.bat
-a--- 2024/10/29 18:02 778 mamba_hook.bat
-a--- 2024/10/29 18:02 851 mamba.bat
PS C:\Users\ika\AppData\Roaming\mamba\condabin> cp mamba.bat micromamba.bat Then I went back to the original directory, reran the micromamba create env command and everything worked fine. This is a little perplexing though because on the surface it looks like the installer script copies a micromamba.bat file into the install location though... setup-micromamba/src/shell-init.ts Line 40 in 617811f
But this |
This still happens in our CI: https://github.com/pydata/sparse/actions/runs/11721178880/job/33114861510?pr=805 |
Yesterday we noticed a failure in our CI only on the
windows-latest
runner where we were getting the following error:'"C:\Users\runneradmin\micromamba\condabin\micromamba"' is not recognized as an internal or external command, operable program or batch file.
using the
mamba-org/setup-micromamba@v1
. while running a simple pre-commit check using the env.Taking a look at the logs the only difference we notice is that
micromamba info
was now fetching
We were able to resolve by pinning to
mamba-org/setup-micromamba@v1.9.0
with themicromamba-version: 1.5.10-0
following similar approach as commented in #225Runner Logs here
The text was updated successfully, but these errors were encountered: