Python虚拟环境

pip install virtualenv
mkdir project-name
cd project-name
virtualenv venv -p python
venv\Scripts\activate
pip install django
django-admin startproject myproject
cd myproject
python manage.py runserver
http://127.0.0.1:8000/
venv\Scripts\deactivate

你可能感兴趣的:(Python虚拟环境)