Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't use the action on `macos-12` executor

See original GitHub issue

Issue Description

The new macos-12 executor is available as public beta for Github Actions. I’m experiencing issues setting up miniconda with this action.

Even though I didn’t test it in an isolated environment, I believe this can be reproduced with the following workflow:

    runs-on: macos-12
      - name: "Setup miniconda"
        uses: conda-incubator/setup-miniconda@v2
          auto-update-conda: true
          python-version: '3.7'
          auto-activate-base: true
          allow-softlinks: true


Run conda-incubator/setup-miniconda@v2
    auto-update-conda: true
    python-version: 3.7
    auto-activate-base: true
    allow-softlinks: true
    activate-environment: test
    remove-profiles: true
    architecture: x64
    clean-patched-environment-file: true
    PYTEST_ADDOPTS: --showlocals -vv --durations=10
    PY_COLORS: 1
    DOTNET_ROOT: /Users/runner/.dotnet
Gathering Inputs...
Creating bootstrap condarc file in /Users/runner/.condarc...
Ensuring installer...
  Can we use bundled Miniconda?
  ... will use bundled Miniconda.
Error: No installed conda 'base' enviroment found at

Issue Analytics

  • State:closed
  • Created 9 months ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

goanpecacommented, Jun 17, 2022

Ok everything is working now as expected. Thanks a lot for flagging this @ljmf00

ljmf00commented, May 26, 2022

The macos-12 runners do not provide a bundled conda vs

You could overcome this issue by specifying a miniconda-version or a miniforge version so that the action installs a new one instead of trying to find an inexistent one.

Ah ok, makes sense to me. I’ll try and give some feedback here, if worth it 😊 . Feel free to close this if you don’t track the upstream issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use Quick Action workflows on Mac - Apple Support
In the Automator app on your Mac, choose File > New. · Select Quick Action, then click Choose. · Specify any of the...
Read more >
[Fixed]Can't be opened because it is from an unidentified ...
... #macfixMacOS is a sophisticated operating system with a high level of security. By default, it does not allow you to install applicat......
Read more >
Set up macOS runners - GitLab Docs
When you're done, GitLab Runner will be running on a macOS machine and an individual runner will be ready to process jobs. Change...
Read more >
Why won't MySQL 8.0.28 install on macOS 12 Monterey?
"mysql-8.0.31-macos12-x86_64.pkg” cannot be opened because it is from an unidentified developer." Below steps resolved this issue on my mac ...
Read more >
I updated my Mac and can't share my screen in Zoom!
9- Repeat the same action for Microphone, Screen Recording, ... Now you can use your Mac's Camera and Microphone in Zoom and allow...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found