找不到满足要求的版本 djangocms
Could not find a version that satisfies the requirement djangocms
正在尝试按照 screencast 安装 DjangoCMS:
$ mkvirtualenv modern_business
$ pip install djangocms
出现错误:
我正在使用 python 2.7。有什么想法吗?
看来您需要安装 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
正在尝试按照 screencast 安装 DjangoCMS:
$ mkvirtualenv modern_business
$ pip install djangocms
出现错误:
我正在使用 python 2.7。有什么想法吗?
看来您需要安装 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