Set up Anaconda on Windows 11
Installation
-
Install Anaconda using anaconda.exe
-
After installing Anaconda.exe, add path to anaconda. The new anaconda will not provide
add to path
option anymore.
D:\ProgramData\Anaconda3\Scripts
D:\ProgramData\Anaconda3
D:\ProgramData\Anaconda3\python.exe
-
Download python3.9 from Microsoft store for windows terminal to recognize
python
-
Init conda in the windows terminal:
conda init powershell
conda init cmd.exe
- After initialization and re-launch, your terminal will show:
File C:\Users\BinoyGhosh\Documents\WindowsPowerShell\profile.ps1 cannot be loaded because running scripts is
disabled on this system. For more information, see about_Execution_Policies at
https:/go.microsoft.com/fwlink/?LinkID=135170.
- re-run terminal as administrator and input the following command:
Set-ExecutionPolicy Unrestricted
- relaunch your terminal and the red errors will disappear
Debugging
1 Conda fail to install pybullet
visit https://visualstudio.microsoft.com/visual-cpp-build-tools/
and download build Tools and install C++ libraries
2 How to deactivate Conda base
conda config --set auto_activate_base false
Enjoy Reading This Article?
Here are some more articles you might like to read next: