![]() ![]() Now after reloading command prompt, from anywhere you should be able to do conda activate WhateverEnvName and it will start it in that environment.Run conda init cmd.exe - To see more info on this command, you can run conda init -help, where it says "Initialize conda for shell interaction.Open command prompt and navigate to that same directory.For me it was C:\Users\\miniconda3\Scripts\conda.exe I figured out how to do it, in my case with miniconda so it might be slightly different. Is there anyway I can have the batch file commands run from cmd without having to write out the path every time? I added the path for the batch file but it didn't work Ok, so the path first opens the cmd (which is why the shortcut points at it, but then from there, from within the cmd, it runs C:\Users\sherv\Anaconda3\Scripts\activate.bat. ![]() I'm very new to all this and trying to connect some dots sorry if it's a stupid question. I have even tried to add it to that path just in case it might work? So I don't understand why I can't activate conda environments from cmd if it's the same thing? From here there is there any way that I can reactivate conda? Because the command words like "conda -v" or "activate base", etc, don't work.Īlso, the conda prompt is a shortcut so when I right-click and select "open file location", it goes to windows\system32\cmd. So I deactivate it and get: C:\Users\sherv> When I open the anaconda prompt the window that opens, shows: (base) C:\Users\sherv> ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |