-
-
Notifications
You must be signed in to change notification settings - Fork 157
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
conda bin_paths are missing Library\...
subdirectories on windows
#514
Comments
Thanks for reporting this, makes sense. IIUC we should emulate the way |
If you'd like to have a go at this, take a look at The |
Is a viable solution simply to hardcode the correct paths into the .bin_paths property in CondaEnv? The advantage of this approach is that it is easy to implement and very transparent. Another approach is to hook into Conda in some way to retrieve the correct paths but this would be a lot more cumbersome to implement. Both approaches are probably equally exposed to Conda changing something in its internals, so the simple approach seems more attractive to me. Any thoughts on this? |
Thank you for this - I have just confirmed that 2022.1.7 fixes the original issue. More generally - Wrapping any calls to The behaviour of |
Happy to help 🙂 As far as I know the I hope this fix works for (almost) everything as you mentioned. If that is not the case we can reconsider how to solve this. |
Great job guys ! Indeed, I had only added the I like the |
Describe the bug
When running python code that requires external executables from
conda
packages - i.e.ipopt
, they cannot be found on the PATH.How to reproduce
This noxfile fails - it should find 'ipopt.exe' on the PATH:
Expected behavior
The PATH should be set to include the same entries as Anaconda's
cwp.py
provides:The text was updated successfully, but these errors were encountered: