![]() ![]() To use conda activate in every shell (normal cmd.exe and powershell), check expose conda command in every shell on Windows. These new sub-commands are available in "Aanconda Prompt" and "Anaconda Powershell Prompt" automatically. The conda activate command also has advantages of (1) being universal across all OSes, shells, and platforms, and (2) not having path collisions with scripts from other packages like python virtualenv’s activate script.Įxamples conda create -n venv-name python=3.6 ![]() ![]() You’ll find they are much more snappy than the source activate and source deactivate commands from previous conda versions. With conda 4.4, conda activate and conda deactivate are now the preferred commands for activating and deactivating environments. All the former answers seem to be outdated.Ĭonda activate was introduced in conda 4.4 and 4.6.Ĭonda activate: The logic and mechanisms underlying environment activation have been reworked. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |