# VScode conda activate error ``` error message: Your shell has not been properly configured to use 'conda activate' ``` # solve: 1) 找到anaconda3資料夾,並更改環境變數 ``` C:<*your path*>\anaconda3 C:<*your path*>\anaconda3\Scripts C:<*your path*>\anaconda3\Library\bin ``` 2) 初始化 conda 進入cmd介面,下 ```conda activate``` 命令,應該會跳出提示,叫我們下```conda init```後重啟 shell ``` conda init ``` 3) power shell 命令 (reference: https://blog.csdn.net/cskywit/article/details/99202520) ``` set-ExecutionPolicy RemoteSigned ``` 4) 完成! ![](https://i.imgur.com/45FExHF.png) 5) 補充: https://www.zendei.com/article/96488.html reference: https://www.796t.com/content/1547008938.html