Note: The setting here is assuming you are using powershell as the default shell. This fixed the, "CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'." error. The way that worked for me was to Press Ctrl+Shift+P in VSCode and open "Preferences: Open Settings (Json)" and add a profile. ![]() One way was to go into the registry and alter the ExecutionPolicy (which I'm not confident in doing). I'm couching the cobbled solution that I found that worked for me and hopefully it may work for you if the above answer does not work for you. I had a similar problem, but was not able to find the explicit solution that I needed. Package cache : C:\Users\user\anaconda3\pkgsĬ:\Users\user\AppData\Local\conda\conda\pkgsĮnvs directories : C:\Users\user\anaconda3\envsĬ:\Users\user\AppData\Local\conda\conda\envs User config file : C:\Users\user\.condarcīase environment : C:\Users\user\anaconda3 (writable) IMPORTANT: You may need to close and restart your shell after running 'conda init'. See 'conda init -help' for more information and options. If using 'conda activate' from a batch script, change your I think the problem is within VSCode because I can activate conda from cmd, powershell, gitbash and within the P圜harm terminal.ĭo I miss something? $ conda activate data_scienceĬommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |