尝试按照screencast安装DjangoCMS:
$ mkvirtualenv modern_business
$ pip install djangocms
并收到错误:
我正在使用python 2.7。有什么想法吗?
答案 0 :(得分:2)
看起来您需要安装django cms安装程序:
(.envtest)$ pip install djangocms-installer
Collecting djangocms-installer
Downloading djangocms_installer-0.9.3-py2.py3-none-any.whl (57kB)
100% |████████████████████████████████| 61kB 628kB/s
Collecting argparse (from djangocms-installer)
Downloading argparse-1.4.0-py2.py3-none-any.whl
Collecting dj-database-url>=0.4 (from djangocms-installer)
Downloading dj-database-url-0.4.1.tar.gz
Successfully built dj-database-url tzlocal
.....
.....
Installing collected packages: argparse, dj-database-url, six, pytz, tzlocal, djangocms-installer
Successfully installed argparse-1.4.0 dj-database-url-0.4.1 djangocms-installer-0.9.3 pytz-2016.7 six-1.10.0 tzlocal-1.3
根据此处的文档:http://docs.django-cms.org/en/release-3.4.x/introduction/install.html