Command of Python set environment and etc
Publish : Update :카테고리: Programming
태그: Python , Sticky Note , venv
Command for set Python Environment
from sticky note
Config venv
py -3 -m venv env
source env/Scripts/activate
python -m pip install --upgrade pip
Create requirements.txt and Install via requirements.txt
pip freeze > requirements.txt
pip install -r requirements.txt
Remove all modules
- If venv is activated, remove all of venv moduels or global
pip freeze > D:/requirements.txt pip uninstall -r D:/requirements.txt -y
Execute bash shell
bash py_init_env.sh
Web Crawling module
pip install scrapy