You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched open reports and couldn't find a duplicate
What happened?
I have a collection of conda packages. Every year or so I update dependencies. Now all scripts from all packages fail on windows. I have tried this with python 3.11 and 3.12, and several conda-build versions from 24.1.2 onwards. I can replicate the issue building on github actions and on my local machine.
Needless to say, I have not changed the recipes, and I have no idea what to try now. Maybe this is not a bug, but your bug template allows me to add all the details.
What follows is a simplified representative case with a hello-world script. Everything is in https://github.com/javierggt/hello with the steps I followed, but I copy it here just in case.
This is the error:
After installing the package, I get this error when trying to run the hello script:
Fatal error in launcher: Unable to create process using '"C:\Users\javierg\git\hello\bla\builds\hello_1737124823972\_h_env\python.exe" "C:\Users\javierg\miniforge3\envs\test-py311\Scripts\hello.exe" ': The system cannot find the file specified.
If I pip-install it directly, there is no problem. The problem is only if I install the conda package I build, which sets the prefix to the build directory.
one workaround:
We figured that if we add the following to the recipe, then it works fine (but we prefer not to have to do this).
Checklist
What happened?
I have a collection of conda packages. Every year or so I update dependencies. Now all scripts from all packages fail on windows. I have tried this with python 3.11 and 3.12, and several conda-build versions from 24.1.2 onwards. I can replicate the issue building on github actions and on my local machine.
Needless to say, I have not changed the recipes, and I have no idea what to try now. Maybe this is not a bug, but your bug template allows me to add all the details.
What follows is a simplified representative case with a hello-world script. Everything is in https://github.com/javierggt/hello with the steps I followed, but I copy it here just in case.
This is the error:
After installing the package, I get this error when trying to run the
hello
script:If I pip-install it directly, there is no problem. The problem is only if I install the conda package I build, which sets the prefix to the build directory.
one workaround:
We figured that if we add the following to the recipe, then it works fine (but we prefer not to have to do this).
this is how I build
Conda Info
Conda Config
Conda list
Additional Context
This is the recipe:
This is the code
pyproject.toml
hello.py
The text was updated successfully, but these errors were encountered: