VSCode

[VSCode] - python 가상환경

18진수 2020. 12. 7. 14:31

 

 

 

 

 

VsCode install 

 

extension

Python, Python for VSCode, Python Extension Pack

 

File - Open Folder : python workspace

View - Command Palette - Select Interpreter - Python Version Select

 

Venv - python -m venv directory path

1. cd Scripts ( window )

2. .\activate 

3. deactivate

 

View - Command Palette - Select Interpreter - Python Venv Version Select

 

Version - python -V

 

FullyQualifiedErrorId : UnauthorizedAccess 

ExecutionPolicy - Set-ExecutionPolicy Unrestricted

Restricted -> Unrestricted     

 

 

 

 

728x90
반응형