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.

No such file or directory, scandir '/home/runner/conda_pkgs_dir'

See original GitHub issue

Thank you for an awesome GitHub workflow / conda integration, has been using it for a little while and it is super helpful.

Starting today (15/05/2019) I noticed a bunch of CIs failed in Run goanpeca/setup-miniconda@v1 with:

Append to "/home/runner/.xonshrc":
 
# ----------------------------------------------------------------------------
# Conda Setup Action: Basic configuration
set -eo pipefail
# Conda Setup Action: Custom activation
conda activate my_env
# ---------------------------------------------------------------------------- 

Append to "/home/runner/.config/powershell/profile.ps1":
 
# ----------------------------------------------------------------------------
# Conda Setup Action: Custom activation
conda activate my_env
# ---------------------------------------------------------------------------- 


# Removing uncompressed packages to trim down cache folder...
##[error]ENOENT: no such file or directory, scandir '/home/runner/conda_pkgs_dir'

An example workflow where I can repro:

  build:
    runs-on: ubuntu-latest

...

    - uses: goanpeca/setup-miniconda@v1
      with:
        activate-environment: my_env

It appears to be related to the new release 1.3.0 which was pushed just yesterday; when I locked version to goanpeca/setup-miniconda@v1.2.0 the builds resumed successfully.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
goanpecacommented, May 16, 2020

Hi @mksenzov, thanks for the report. It seems like a regression. Will make a new release to fix this tomorrow.

Cheers!

0reactions
goanpecacommented, May 18, 2020

@mksenzov released!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: ENOENT: no such file or directory, scandir
I got the error 'Error: ENOENT: no such file or directory, scandir '**/node_modules/node-sass/vendor', this solution helped me resolve it.
Read more >
Fix "no such file or directory, scandir" - David Walsh Blog
After 15+ years in the web development industry, and seeing the landscape of tooling change, I've really lost patience with tooling errors.
Read more >
Intro to Python Environments - The Materials Project Workshop
pip is a package management system for python that is used to install and manage additional libraries and dependencies. pip typically comes pre-installed...
Read more >
Managing packages - Conda
Installing packages . Use the terminal or an Anaconda Prompt for the following steps. To install a specific package such as SciPy into...
Read more >
Conda - Yale Center for Research Computing
Conda is a package, dependency, and environment manager. It allows you to maintain different, ... bash: conda: No such file or directory.
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