Useful commands using python (maybe python 기본기?)
1. Making virtual env
python -m venv ./env
- After python ver 3.3, venv is included in python installation
- ./env: where we are going to put our virtual environment
2. Going inside the virtual env (mac os)
source env/bin/activate
3. Installing packages from requirements.txt
pip install -r requirements.txt
- Similar with 'npm i'
4. Exit from virtual env
deactivate
더보기
Last Update: 2024.01.12
가장 위대한 영광은 한 번도 실패지하지 않음이 아니라 실패할 때마다 다시 일어서는 데에 있다.
-공자-