Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:computer:wsl [2022/12/29 10:52] alexpublic:computer:wsl [2022/12/29 16:17] (current) – [References] 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 =====
Line 104: Line 126:
   * [[https://julialang.kr/?p=3181|[WSL2,한글,Ubuntu] Windows WSL2 설치]]   * [[https://julialang.kr/?p=3181|[WSL2,한글,Ubuntu] Windows WSL2 설치]]
   * [[https://digiconfactory.tistory.com/entry/WSL2-%EC%9A%B0%EB%B6%84%ED%88%AC-%EB%A6%AC%EB%88%85%EC%8A%A4-%ED%95%9C%EA%B8%80-%EC%9E%85%EB%A0%A5%EA%B8%B0|WSL 잡설 / WSL2 우분투 리눅스 한글 입력기 설치 - 윈도우11]]   * [[https://digiconfactory.tistory.com/entry/WSL2-%EC%9A%B0%EB%B6%84%ED%88%AC-%EB%A6%AC%EB%88%85%EC%8A%A4-%ED%95%9C%EA%B8%80-%EC%9E%85%EB%A0%A5%EA%B8%B0|WSL 잡설 / WSL2 우분투 리눅스 한글 입력기 설치 - 윈도우11]]
 +  * [[https://velog.io/@mythos/Windows-WSL2-%EA%B0%9C%EB%B0%9C-%ED%99%98%EA%B2%BD-%EC%84%A4%EC%A0%95|[Windows] WSL2 개발 환경 설정]]
 +  * [[https://mulder21c.github.io/2021/01/28/setting-up-wsl-2-dev-env-and-zsh-on-windws-10/|개발환경 WSL2 + zsh로 갈아타기]]
 +  * [[https://blog.fotogrammer.com/python-%EA%B0%9C%EB%B0%9C-%ED%99%98%EA%B2%BD-%EA%B5%AC%EC%B6%95%EA%B8%B0-on-wsl2/|Python 개발 환경 구축기 on WSL2]]
  • public/computer/wsl.1672278758.txt.gz
  • Last modified: 2022/12/29 10:52
  • by alex