Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Run on Windows #4

Closed
jtpio opened this issue Jun 5, 2020 · 4 comments
Closed

Run on Windows #4

jtpio opened this issue Jun 5, 2020 · 4 comments

Comments

@jtpio
Copy link
Member

jtpio commented Jun 5, 2020

First tests on running the action with windows-latest were done in #3.

Here is an example of a failed run: https://github.com/TheSnakePit/setup-mamba/runs/741565038

With the following output:

Run mamba install -y -c conda-forge python
  mamba install -y -c conda-forge python
  shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
Traceback (most recent call last):
  File "C:\Miniconda\Scripts\mamba-script.py", line 6, in <module>
    from mamba.mamba import main
  File "C:\Miniconda\lib\site-packages\mamba\mamba.py", line 53, in <module>
    import mamba.mamba_api as api
ImportError: DLL load failed: The specified module could not be found.
##[error]Process completed with exit code 1.
This was referenced Jun 5, 2020
@dhirschfeld
Copy link

Something is pretty badly broken if you're getting DLL errors! 😬

@dhirschfeld
Copy link

I don't know much about the GitHub Actions runners. Have the shells been initialised for conda? Are you running the commands from the activated environment where mamba is installed.

I see it's running the latest and greatest pwsh 7. I haven't used that yet so I don't even know if conda works with that shell.

@dhirschfeld
Copy link

If you're not using any powershell features I'd try using shell: cmd, otherwise shell: powershell will get you the old-fangled powershell which might work better with conda

@jtpio
Copy link
Member Author

jtpio commented Jun 21, 2023

@jtpio jtpio closed this as completed Jun 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants