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 for other issues and couldn't find a solution or duplication
I already searched in Google and didn't find any good information or help
I looked at the docs and didn't see anything to help
What happened?
Following documentation on https://docs.anaconda.com/anaconda/install/silent-mode/ and using same process as on previous version(s) we try to install Anaconda and let it add its paths to the path environment variable. It doesn't seem to work
Snippet from the script we use to install it:
:: set installation path
set installPath=C:\Anaconda3-2022.05
:: default installation
start /wait "" .\Anaconda3-2022.05-Windows-x86_64.exe /InstallationType=AllUsers /AddToPath=1 /RegisterPython=1 /S /D=%installPath%
Command window is run as administrator.
Expected behavior: after installation and opening a new cmd window, set path should show added entries related to Anaconda.
The path environment variable seems untouched at all.
Conda info
No response
Conda config
No response
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Yes, as of Anaconda Distribution 2022.05 and Miniconda-4.12.0, we disabled the option to AddToPath when running the installation for AllUsers. We did this to address CVE-2022-26526, which describes a security risk that was found when allowing the system PATH to be edited when running the installation in AllUsers mode. The AddToPath is still an option if you run the installation in JustMe mode.
We recommend the following workarounds:
You could run the installation in JustMe mode.
If you wish to continue using the AllUsers mode, you could remove the /AddToPath=1 parameter from your command and add the installation path to your PATH in a separate step after the installation completes.
Since the AddToPath for AllUsers option was disabled in Anaconda Distribution 2022.05, you could just stick to installing an older version in order to keep using the option to AddToPath when installing for AllUsers. After the installation completes, you could then try to install an updated anaconda metapackage.
Another user ran into a similar issue recently; please see this issue thread for more information.
Checklist
What happened?
Following documentation on https://docs.anaconda.com/anaconda/install/silent-mode/ and using same process as on previous version(s) we try to install Anaconda and let it add its paths to the path environment variable. It doesn't seem to work
Snippet from the script we use to install it:
Command window is run as administrator.
Expected behavior: after installation and opening a new cmd window,
set path
should show added entries related to Anaconda.The path environment variable seems untouched at all.
Conda info
No response
Conda config
No response
Conda list
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: