djangocms:命令未找到

时间:2017-12-05 16:05:39

标签: python django django-cms

我通过这个命令安装了django cms

$ sudo pip3 install django-cms

安装完成并返回:

Requirement already satisfied: django-cms in /usr/local/lib/python3.6/dist-packages
Requirement already satisfied: django-classy-tags>=0.7.2 in /usr/local/lib/python3.6/dist-packages (from django-cms)
Requirement already satisfied: django-formtools>=1.0 in /usr/local/lib/python3.6/dist-packages (from django-cms)
Requirement already satisfied: Django<2.0,>=1.8 in /home/amir/.local/lib/python3.6/site-packages (from django-cms)

Requirement already satisfied: djangocms-admin-style>=1.0 in /usr/local/lib/python3.6/dist-packages (from django-cms)
Requirement already satisfied: django-sekizai>=0.7 in /usr/local/lib/python3.6/dist-packages (from django-cms)
Requirement already satisfied: django-treebeard>=4.0.1 in /usr/local/lib/python3.6/dist-packages (from django-cms)

但是,当我想使用djangocms时,它会返回

djangocms: command not found

我使用Python 3.6和django 1.9.5(我知道它是一个旧版本,但该项目属于我的公司,他们使用此版本。)

1 个答案:

答案 0 :(得分:0)

http://docs.django-cms.org/en/release-3.4.x/introduction/install.html 我的猜测是你忘了运行:pip install djangocms-installer 我猜这是因为我也这样做了。我安装了pip install django-cms,然后想知道它为什么不起作用。