I also had similar error, but its turn out because i use powershell instead of cmd on vscode when i type the conda activate name