mamba: Mamba 0.7 crashes on windows

Hi there,

Since updating to mamba 0.7, I have a traceback:

Traceback (most recent call last):
  File "***\mamba-script.py", line 6, in <module>
    from mamba.mamba import main
  File "***\mamba\mamba.py", line 52, in <module>
    import mamba.mamba_api as api
ImportError: DLL load failed: The specified module could not be found.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 25 (19 by maintainers)

Commits related to this issue

Most upvoted comments

@marscher, you need to call conda activate beforehand. (Or add C:\Miniconda38-x64\Library\bin and other various paths that conda adds to PATH

Hmm, I have to say ldd in cygwin might be my favorite:

Wolf Vollprecht@LAPTOP-7GSEN6I8 MINGW64 ~/Programs/reproc/build/reproc/lib (master)
$ ldd reproc.dll
        ntdll.dll => /c/Windows/SYSTEM32/ntdll.dll (0x7ffe74340000)
        KERNEL32.DLL => /c/Windows/System32/KERNEL32.DLL (0x7ffe73740000)
        KERNELBASE.dll => /c/Windows/System32/KERNELBASE.dll (0x7ffe716e0000)
        apphelp.dll => /c/Windows/SYSTEM32/apphelp.dll (0x7ffe6a860000)
        WS2_32.dll => /c/Windows/System32/WS2_32.dll (0x7ffe729b0000)
        RPCRT4.dll => /c/Windows/System32/RPCRT4.dll (0x7ffe72560000)
        ucrtbase.dll => /c/Windows/System32/ucrtbase.dll (0x7ffe712c0000)
        VCRUNTIME140.dll => /c/Windows/SYSTEM32/VCRUNTIME140.dll (0x7ffe581d0000)

Anyways, I fixed the reproc recipe and going to make a new release shortly! Hopefully mamba won’t crash anymore after that.

Okay, I was able to recreate it in a container.

I used stefanscherer/chocolatey, then installed choco install miniconda3, used that to install conda install mamba -c conda-forge --strict-channel-priority and running mamba create -n tense xtensor -c conda-forge crashes with the same issue.