VScode Terminal (Powershell) 에서 패키지를 삭제하는 과정에서 Terminal 권한 관련 에러가 발생했다.
(myenv) D:\works\demand_forecast> pip uninstall scikit-learn
ERROR: Could not install packages due to an OSError: [WinError 5] 액세스가 거부되었습니다: 'c:\\users\\user\\.conda\\envs\\myenv\\lib\\site-packages\\~ywin32_system32\\pythoncom37.dll' Consider using the `--user` option or check the permissions
해당에러는 관리자 권한을 가지고 Terminal을 실행했을 때 해결될 수 있다. 그러려면 해당 Terminal을 실행하는 VScode 가 관리자 권한으로 실행될 수 있도록 설정해야한다
이는 아래와 같은 과정으로 간단히 설정할 수 있었다
적용 후 VScode를 재시작하면 VScode 내에서 관리자 권한으로 Terminal을 사용할 수 있다
<Reference>
https://stackoverflow.com/questions/70438253/permission-denied-when-i-try-to-open-vscode-using-a-command-line
VScode - GitLab 연동 (SSH) (0) | 2022.05.30 |
---|---|
Terminal 실행 시 Train Log 저장 및 실시간 출력 (save and stream) (0) | 2022.05.30 |
bash session 관리를 위한 tmux 사용법 정리 (0) | 2022.05.30 |
Colab VScode 연동 (0) | 2022.05.29 |
Colab 연결 끊김 방지 (0) | 2022.05.27 |
댓글 영역