I am following local development instructions here and hitting a “The system cannot find the file specified” error when running .gradlew.bat condaDevelop
Re-running the command with --info
shows that the error comes from this command being executed:
C:Usersproggeo.conda-installsmamba-installer8-win-64attemptcondabinmamba.bat install --json --dry-run --mkdir -q python<3.11 python transforms-expectations transforms==1.1078.0 black transforms-verbs setuptools transforms=1.* -p buildtmprunVersions
It seems the issue is with the “python<3.11” notation, as I can reproduce it by calling the same mamba.bat
file.
PS C:Usersproggeopython-repo> C:Usersproggeo.conda-installsmamba-installer8-win-64attemptcondabinmamba.bat install python<3.11
The system cannot find the file specified.
PS C:Usersproggeopython-repo> C:Usersproggeo.conda-installsmamba-installer8-win-64attemptcondabinmamba.bat install python=3.11
Looking for: ['python=3.11']
pkgs/main/win-64 (check zst) Checked 0.2s
pkgs/main/noarch (check zst) Checked 0.0s
pkgs/r/win-64 (check zst) Checked 0.0s
pkgs/r/noarch (check zst) Checked 0.0s
pkgs/msys2/win-64 (check zst) Checked 0.0s
pkgs/msys2/noarch (check zst) Checked 0.0s
It looks like this old mamba issue which was supposed to be fixed already many versions ago: https://github.com/mamba-org/mamba/issues/1561.
Conda/mamba versions are following (Foundry repo version is "transforms-python" : "1.717.0"
):
C:Usersproggeo.conda-installsmamba-installer8-win-64attemptcondabinmamba.bat --version
mamba 1.5.1
conda 23.5.2
This reproduced on multiple computers, including a fresh Azure Virtual Desktop, with only Java 17, Git and VS Code installed.
Did anybody hit this issue before? Any workarounds?