Python之虚拟环境
benojan • 2024-01-09 21:37 • 199 次点击 • python
一、创建环境
python -m venv ENV_DIR
二、激活环境
.\ENV_DIR\Scripts\activate
三、安装环境
pip install django
pip install djangorestframework
pip install pymysql
pip install django-cors-headers
benojan • 2024-01-09 21:37 • 199 次点击 • python
python -m venv ENV_DIR
.\ENV_DIR\Scripts\activate
pip install django
pip install djangorestframework
pip install pymysql
pip install django-cors-headers