![创建 CKAN 扩展错误:没有这样的命令“create”](https://linux22.com/image/941827/%E5%88%9B%E5%BB%BA%20CKAN%20%E6%89%A9%E5%B1%95%E9%94%99%E8%AF%AF%EF%BC%9A%E6%B2%A1%E6%9C%89%E8%BF%99%E6%A0%B7%E7%9A%84%E5%91%BD%E4%BB%A4%E2%80%9Ccreate%E2%80%9D.png)
我正在他们的官方文档中创建一个 CKAN EXTENSION 基础。
https://docs.ckan.org/en/2.9/theming/templates.html#creating-a-ckan-extension
当我走到这一步的时候,
ckan -c /etc/ckan/default/ckan.ini 创建 -t ckanext-example_theme
我收到这个错误。
(default) root@ccgeo:/usr/lib/ckan/default/src# ckan -c
/etc/ckan/default/ckan.ini create -t ckanext-example_theme
2021-10-27 02:27:45,515 INFO [ckan.cli] Using configuration file /etc/ckan/default/ckan.ini
2021-10-27 02:27:45,515 INFO [ckan.config.environment] Loading static files from public 2021-10-27
02:27:45,544 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates
2021-10-27 02:27:45,762 INFO [ckan.config.environment] Loading templates from /usr/lib/ckan/default/src/ckan/ckan/templates
Usage: ckan [OPTIONS]
COMMAND [ARGS]... Error: No such command 'create'. (default)
root@ccgeo:/usr/lib/ckan/default/src#
有任何帮助吗?