public:computer:wsl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
public:computer:wsl [2022/12/29 15:44] – [References] alexpublic:computer:wsl [2022/12/29 16:01] alex
Line 98: Line 98:
 Administrator> wslconfig /u <name> Administrator> wslconfig /u <name>
 </sxh> </sxh>
 +
 +===== python settings =====
 +  * pip 설치<sxh bash>
 +$ sudo apt update & sudo apt upgrade -y
 +$ sudo apt install python3-pip
 +$ sudo apt install python3-venv
 +</sxh>
 +
 +  * 가상환경 생성<sxh bash>
 +$ python3 -m venv .venv
 +</sxh>
 +
 +  * 가상환경 활성화<sxh bash>
 +$ source .venv/bin/activate
 +    또는
 +$ . .venv/bin/activate
 +</sxh>
 +
 +  * 가상환경 비활성화<sxh bash>
 +$ deactivate
 +</sxh>
 +
  
 ===== References ===== ===== References =====
  • public/computer/wsl.txt
  • Last modified: 2022/12/29 16:17
  • by alex