Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed install on Windows with constructor > 3.9.3 #941

Closed
2 tasks done
moorepants opened this issue Feb 20, 2025 · 3 comments
Closed
2 tasks done

Failed install on Windows with constructor > 3.9.3 #941

moorepants opened this issue Feb 20, 2025 · 3 comments
Labels
type::bug describes erroneous operation, use severity::* to classify the type

Comments

@moorepants
Copy link

Checklist

  • I added a descriptive title
  • I searched open reports and couldn't find a duplicate

What happened?

I have CI set up to build a constructor based installer. I had a recent successful build moorepants/anaconda-dee-config#17 with constructor 3.11.1 and then I removed version pins of all packages in construct.yaml to test solving an up-to-date set of packages in moorepants/anaconda-dee-config#18 but the second build failed to install. The failure gave this error:

Setup environment variables...
  Add "C:\Users\runneradmin\miniconda3\condabin" to PATH
  Set 'CONDA="C:\Users\runneradmin\miniconda3"'
Parsing environment...
Applying initial configuration...
  Warning: The 'defaults' channel might have been added implicitly. If this is intentional, add 'defaults' to the 'channels' list. Otherwise, consider setting 'conda-remove-defaults' to 'true'.
  Adding pkgs_dir 'C:\Users\runneradmin\conda_pkgs_dir'
Error: No existing conda executable found at any of C:\Users\runneradmin\miniconda3\condabin\conda.bat,C:\Users\runneradmin\miniconda3\Library\bin\conda.exe

This came from building with the latest released version of constructor 3.11.1.

I then switched to constructor < 3.10 and the build succeeded:

moorepants/anaconda-dee-config#18

I am not sure what may be different, but maybe this points to an issue introduced after version 3.9.3.

Additional Context

No response

@moorepants moorepants added the type::bug describes erroneous operation, use severity::* to classify the type label Feb 20, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in 🧭 Planning Feb 20, 2025
@moorepants
Copy link
Author

constructor 3.10.0 worked: moorepants/anaconda-dee-config#19

@moorepants
Copy link
Author

constructor 3.11.0 worked: moorepants/anaconda-dee-config#20

@moorepants
Copy link
Author

With an explicit pin to 3.11.1 it worked: moorepants/anaconda-dee-config#21

I'll close this, as I did not reproduce the error. I could try removing the constructor version pin (original case) but I think I'll just keep it.

@github-project-automation github-project-automation bot moved this from 🆕 New to 🏁 Done in 🧭 Planning Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::bug describes erroneous operation, use severity::* to classify the type
Projects
Status: 🏁 Done
Development

No branches or pull requests

1 participant