question-mark
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.

Error: No installed conda 'base' enviroment found at

See original GitHub issue

GHA:

  run-linters:
    name: Run Linters and Annotate
    runs-on: "ubuntu-latest"
    container: ubuntu:latest
    steps:
      - name: Cleanup workspace
        uses: jstone28/runner-workspace-cleaner@v1.0.0
      - uses: actions/checkout@v1
        name: Checkout PR
      - uses: conda-incubator/setup-miniconda@v2
        with:
          auto-activate-base: true
          auto-update-conda: true
          python-version: "3.7"
          activate-environment: true

Output:

Run conda-incubator/setup-miniconda@v2
  with:
    auto-activate-base: true
    auto-update-conda: true
    python-version: 3.7
    activate-environment: true
    remove-profiles: true
    architecture: x64
    clean-patched-environment-file: true
/usr/bin/docker exec  d6e54a18e7d3e451feaf1484cee30709ddd0a0a295d7ba00b380f69d0294c607 sh -c "cat /etc/*release | grep ^ID"
Gathering Inputs...
Creating bootstrap condarc file in /github/home/.condarc...
Ensuring installer...
  Can we use bundled Miniconda?
  ... will use bundled Miniconda.
Error: No installed conda 'base' enviroment found at 

Do I miss anything so conda is not installed?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
evencheng-invitaecommented, Dec 3, 2021

You are right. I took out container and that worked. Thanks for the insights! 🙏

0reactions
martin-gcommented, Dec 15, 2021

Thanks for the help, @jaimergp ! Maybe the runner does not use bash shell and this is the reason why Conda is not setup for it. I’ll check now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

NoBaseEnvironmentError · Issue #8930 · conda ... - GitHub
NoBaseEnvironmentError: This conda installation has no default base environment. Use 'conda create' to create new environments and 'conda ...
Read more >
Anaconda won't update: "No default base environment" error
After running the application, the base environment will be automatically activated. Note that you will have to run the application as an ...
Read more >
Getting started with conda
Create an environment that has a different version of Python. 5 MINUTES. Managing packages. Find packages available for you to install. Install packages....
Read more >
1880708 – The base environemnt is invalid - Red Hat Bugzilla
Actual results: NoBaseEnvironmentError: This conda installation has no default base environment. Use 'conda create' to create new ...
Read more >
Working with Environments – Introduction to Conda for (Data ...
You can create a Conda environment and install multiple packages by listing the packages that you wish to install. $ conda create --name...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found