본문 바로가기
Python

[Python] Terminal, WSL, Conda, and VSCode

by ds31x 2023. 12. 15.

Terminal and Console (+ Shell)

https://dsaint31.me/mkdocs_site/OS/console_terminal_shell_kernel/

 

BME228

Console, Terminal, and Shell Console: 컴퓨터(주로 서버)에 command를 작성하여 입력하고 그 결과를 확인할 수 있는 (물리적) 입출력 장치. Terminal과 비슷한 의미를 가지고 있으나 보다 물리적인 측면이 강조

dsaint31.me


Windows Subsystem Linux (WSL)

https://dsaint31.tistory.com/423

 

[CE] Introduction of WSL

Windows Subsystem for Linux : Linux용 Windows 하위 시스템. Windows OS를 사용하는 사용자 및 개발자가 GNU/Linux용 Software 혹은 개발툴을 사용해야 하는 경우, (opensource의 강력함 때문에 linux를 사용해야하는 경

dsaint31.tistory.com

https://dsaint31.tistory.com/513

 

[WSL] Install WSL

Pre-requirements. windows 10 이상 : ( version 2004 , build 19041 이상이어야 함.) windows 11 권장 : ( gpu 기능 등 가능... ) Tensorflow나 Pytorch등에서 GPU가속을 제대로 쓰려면, build 20150 이상은 되어야 함 (GPGPU가 없는

dsaint31.tistory.com

https://ds31x.tistory.com/67

 

[Env] WSL 기본 명령어 정리.

wsl 자체 관련 wsl update or rollback (wsl 자체에 대한) wsl --update # wsl version update wsl --update rollback # 이전 버전으로 상태 확인 wsl --status Help wsl --help Distribution 실행 관련 wsl로 default distribution 실행하기 bas

ds31x.tistory.com

zsh + iterm2

작성중


Conda and Mamba

https://ds31x.blogspot.com/2023/07/env-conda-anaconda-and-miniconda.html?view=classic

 

[Env] conda : Anaconda and Miniconda

Conda는 open-source package and environment management system임. pip처럼 package management system이면서 venv처럼 environment management system임. 참고 ...

ds31x.blogspot.com

https://dsaint31.tistory.com/329

 

[Conda] Install Conda on WSL2 (miniconda)

1. wsl 설치 wsl --install 2023.06.12 - [Programming] - [WSL] Install WSL [WSL] Install WSL Pre-requirements. windows 10 이상 : ( version 2004 , build 19041 이상이어야 함.) windows 11 권장 : ( gpu 기능 등 가능 ... ) windows키 + R 누르고

dsaint31.tistory.com

https://ds31x.tistory.com/68

 

[Env] Mamba 설치하기.

이 문서는 conda가 설치되지 않은 상태에서 mamba를 설치하는 과정을 기재함. (conda를 개선한 것이 mamba라서 fresh하게 mamba install을 수행.) mamba는 거의 conda와 사용법은 같지만 꽤나 빠른 편이다. 사용

ds31x.tistory.com

https://ds31x.blogspot.com/2023/07/env-conda.html?view=classic

 

[Env] conda 명령어 정리

익숙해지면 conda대신 mamba를 사용하길 권한다. (conda가 너무 느려짐) mamba 설치하기 :  https://ds31x.tistory.com/68 패키지 관련 conda install : 패키지 설치. 기본적으로 pip 와 같음....

ds31x.blogspot.com


pip and venv

https://dsaint31.tistory.com/534

 

[Python] pip 란 (Package Management System)

정의 pip는 Pip Installs Python를 줄인 말로, Python에서 기본적으로 사용되는 Python package management system임. pip와 같이, 줄임말이 원래 문장에 다시 들어가 있는 경우를 recursive acronym이라고 부름. python이

dsaint31.tistory.com

 

2023.06.30 - [Python] - [Python] pip 사용법

 

[Python] pip 사용법

다음은 pip (Pip Install Python or Installer for Python)의 사용법을 간략히 정리해둔 것임. https://dsaint31.tistory.com/entry/Python-pip-%EB%9E%80-Package-Management-System [Python] pip 란 (Package Management System) pip는 Pip Installs Pyt

ds31x.tistory.com

2023.06.30 - [Python] - [Python] venv : Python Virtual Envrionment

 

[Python] venv : Python Virtual Envrionment

Python 3의 경우, standard library로 venv를 virtual environment를 위해 제공하고 있음. 이를 통해 프로젝트마다 적절한 package들을 사용할 수 있게 됨. Create a virtual environment python -m venv 환경이름 위의 명령어

ds31x.tistory.com


Visual Studio Code (VSCode)

https://ds31x.blogspot.com/2023/07/env-visual-studio-code-and-visual-studio.html?view=classic

 

[Env] Visual Studio Code and Visual Studio

Visual Studio Code (vscode)는 Visual Studio와 달리, code editor임을 강조하고 있다. Visual Studio는 전형적인 Integrated Development Environment로 MFC, .NET 등의 ...

ds31x.blogspot.com

https://ds31x.blogspot.com/2023/07/env-vscode-winget.html?view=classic

 

Env : vscode를 winget으로 설치하기

Linux (Debian계열)의 apt나 MacOS의 brew처럼 windows에서도 CLI기반의 package manager가 사용 가능하다. 이전엔 3rd party의 sw를 사용하거나 따로 설치를 해야했는데... windows11에는 포함이 ...

ds31x.blogspot.com

 

2023.12.15 - [개발환경] - [vscode] How to install vscode

 

[vscode] How to install vscode : homebrew

MacOS homebrew를 이용하여 설치하는 것이 가장 편한 방법임. brew install --cask visual-studio-code Reference https://formulae.brew.sh/cask/visual-studio-code visual-studio-code Homebrew’s package index formulae.brew.sh Linux (Debian or Ub

ds31x.tistory.com

https://ds31x.blogspot.com/2023/07/env-vscode.html?view=classic

 

Env : vscode 완전제거하기

windows11 기준. 1.  앱 > 설치된 앱 에서 code 로 검색하여 Visual Studio Code를 제거. 2. 다음은 완전히 제거하기 위한 부가적인 작업임 (extension과 설정파일들). vscode를 완전 삭제하기 위해 같이 삭...

ds31x.blogspot.com

2023.12.15 - [개발환경] - [vscode] How to completely uninstall vscode on Mac

 

[vscode] How to completely uninstall vscode on Mac

다음과 같이, brew uninstall을 이용하거나, brew uninstall visual-studio-code brew list 로 vscode의 설치명을 확인하는 것을 권함. 다음과 같이, Finder 의 Applicaitons 을 열어서 거기에 있는 VSCode를 trash bin으로 이

ds31x.tistory.com

2023.08.18 - [개발환경] - [Env] Vscode: task runner 설정.

 

[Env] Vscode: task runner 설정.

Visualstudio Code (vscode)는 프로젝트의 build등을 자동화하기 위해 custom task를 작성 및 수행할 수 있도록 Task Runner라는 기능을 지원함. Python file을 수행하기 위해 ctrl + f5 (디버그없이 실행) 등으로 수행

ds31x.tistory.com

 


Python Interactive Shell (or Python Interactive Prompt)

https://dsaint31.me/mkdocs_site/OS/console_terminal_shell_kernel/#shell

 

BME228

Console, Terminal, and Shell Console: 컴퓨터(주로 서버)에 command를 작성하여 입력하고 그 결과를 확인할 수 있는 (물리적) 입출력 장치. Terminal과 비슷한 의미를 가지고 있으나 보다 물리적인 측면이 강조

dsaint31.me

https://dsaint31.tistory.com/505

 

[Python] Python Interactive Shell (or Python Interactive Prompt)

REPL or Interactive Mode Python을 가장 쉽게 (또는 naive하게) 사용하는 방법은 Python Shell을 통해 사용하는 것임. 이 경우, Python Interpreter는 사용자가 Python Shell의 prompt에 입력한 statement 단위로 수행을 시키

dsaint31.tistory.com

 

728x90

'Python' 카테고리의 다른 글

[Python] Debugging : Traceback, Stacktrace, Backtrace ...  (0) 2023.12.25
[Python] logging  (0) 2023.12.18
[Etc] Token and Tokenizer  (2) 2023.12.06
[Python] File Handling  (1) 2023.12.05
[Python] Programming Language and Introduction of Python.  (1) 2023.10.23