Django简单电子商务教程 安装指南: 创建一个virtualenv pip install virtualenv virtualenv venv 激活venv Linux- source venv/bin/activate Windows- venv\Scripts\activate 克隆并安装 git clone https://github.com/umutbektas/django-ecommerce.git (venv) pip install -r requirements.txt 迁移,用户和运行 (venv) python manage.py migrate (venv) python manage.py createsuperuser (venv) python manage.py runserver 例子: