Closed gdementen closed 3 years ago
For future reference, given the scarce documentation at https://github.com/conda/menuinst/wiki/Menu-Shortcut-Config-Structure , I read the source directly at:
https://github.com/conda/menuinst/blob/master/menuinst/win32.py https://github.com/conda/menuinst/blob/master/tests/test_menu_creation.py
unless "conda" is in the Path.
Because the "cwp" script more or less activates the target environment (puts stuff in the path) but conda is in the base environment.
The solution would be to change the simple "conda" command to something with a path (something like
${ROOT_PREFIX}/Scripts/conda
) or use the conda-script.py as a Python script?