-
Notifications
You must be signed in to change notification settings - Fork 168
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
The .conda
directory is not being created on Windows
#461
Comments
Some notes from my investigation: The uninstaller is built with these instructions: constructor/constructor/nsis/main.nsi.tmpl Lines 972 to 1004 in 7a67384
The menu removal happens through the bundled constructor/constructor/nsis/_nsis.py Lines 159 to 184 in 7e76a57
We can clearly see that a non-existing Why do we need this environments check? I guess because PR coming soon. |
When trying to build a Windows installer (win-64, tested on Windows 10), it was found that the uninstaller wasn't removing menu entries but only in some Windows environments and not others. After some investigation, it turned out that the environments where the uninstaller does work properly are the ones where a
.conda
directory already existed due to a previous Miniconda/Anaconda installation.The problem seems to be that the
.conda
directory (usually in$HOME
) is not created by the installers built by constructor. In turn, it seems that the issue with the uninstaller (i.e. not removing menu items) goes away when the available environments can be found in theenvironments.txt
file of the.conda
directory (when present).In conclusion, constructor built installers do not appear to be creating the
.conda
directory when they should while the vanilla Miniconda/Anaconda installers have no such issue. I've discussed this with @chenghlee and the root cause of this discrepancy is currently being investigated.The text was updated successfully, but these errors were encountered: