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.

Creating conda environment fails with non-descriptive error message

See original GitHub issue

When setting up miniconda I get the following last lines in the log:

Creating conda environment from yaml file...
  /usr/share/miniconda/condabin/conda env create --file environment.yml --name practical-omnitigs
  Collecting package metadata (repodata.json): ...working... done
  Solving environment: ...working... ::error::The process '/usr/share/miniconda/condabin/conda' failed with exit code null

This makes the job fail. I searched for error with the search function in the log, but got no other error message. Is there a way to get a more descriptive error message?

Here is the job that fails.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
raphaelquastcommented, May 27, 2022

hey, of course that’s possible! 🙂

I’ve used the following environment for testing: conda-yml for EOmaps

…and the tests on GitHub were running on “Ubuntu latest” (according to https://github.com/actions/virtual-environments this is currently 20.04)

0reactions
ychen-otcommented, Oct 19, 2022

Thanks everyone for the help. I also ended up using the additional settings w/ enabling mamba to fix the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating conda environment fails with non-descriptive error ...
When setting up miniconda I get the following last lines in the log: Creating conda environment from yaml file.
Read more >
Creating conda environment failed with exit code: 1?
I am getting this error when I run script job_submit.py. I do not know how to debug this issue, would appreciate help to...
Read more >
Conda create environment fails with Error: No packages found
The problem is that I had created a file in my home directory .condarc which had the following contents: create_default_packages: - ...
Read more >
Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
Unicode error after installing Python 2. Windows environment has not been activated. The system cannot find the path specified on Windows ...
Read more >
Working with Environments – Introduction to Conda for (Data ...
Workspace for Conda environments. If you haven't done it yet, create a new introduction-to-conda-for-data-scientists directory on your Desktop in order to ...
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