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.

Handle: Bundled Miniconda not found! and provide a warning and default installation

See original GitHub issue

hi! congrats for this package - it’s really helpful.

we are using it in kornia for building our CI pipeline and we are facing some issues with the setup for a self-hosted device.

In particular we have the following error:

image https://github.com/kornia/kornia/runs/1448438566?check_suite_focus=true

The .yml used to define this workflow can be found here: https://github.com/kornia/kornia/blob/master/.github/workflows/tests_cuda.yml

Thanks in advance,

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
goanpecacommented, Nov 24, 2020

Hi @edgarriba, thanks for the kind words and the report 😃

So Github runners come with a bundled miniconda already installed on different locations (depending on the OS system) so your self hosted runners should have a miniconda available at the $CONDA environment variable.

In the meantime you could define an specific version of miniconda to use to force the download and install of miniconda (will take a bit longer, but it should solve the issue)

Something like:

        with:
          miniconda-version: "latest"

Could you please check?


This is a very specific use case, but maybe we could check for existence and then download if not found what do you @conda-incubator/setup-miniconda-team think?

1reaction
kengzcommented, Dec 14, 2020

I encountered the same problem, and fixed it by supplying the CONDA env var, though I’d share. So part of the actions yaml looks like:

      ...
      - name: Setup Conda dependencies
        uses: conda-incubator/setup-miniconda@v2
        env:
          CONDA: /home/your_name/miniconda3
        with:
          activate-environment: your_conda
          environment-file: environment.yml
          python-version: 3.9.1
          auto-activate-base: false
      ...
Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
The fix is to use the ./bin/conda executable in the conda git repository to force reinstall conda. That is, run ./bin/conda install -f...
Read more >
setup-miniconda - Bountysource
Set up your GitHub Actions workflow with conda via miniconda ... Handle: Bundled Miniconda not found! and provide a warning and default installation...
Read more >
Troubleshooting — Anaconda documentation
When initially installing this package, you receive the SSL warning again. Once it is installed, the package will prevent the warnings. Conda: command...
Read more >
Python - package not found although it is installed
This is not an option for all Python packages, if there is no conda package you have to use pip . See Installing...
Read more >
How do I use Anaconda to install & manage software on ... - Ask
This command has no feedback if successful, but will add Anaconda's “conda” command and its bundled Python binary to your path:
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