1

我使用 CKAN 作为我的开放数据门户,并按照https://github.com/ckan/ckanext-archiver上的说明安装 Archiver Extension 。我已经安装了 celery,如图所示:

Successfully installed celery kombu kombu-sqlalchemy messytables flask anyjson amqplib xlrd python-magic chardet json-table-schema lxml Werkzeug

但我无法运行它。

/usr/lib/ckan/default/src$ paster celeryd -c /etc/ckan/default

Command 'celeryd' not known (you may need to run setup.py egg_info)
Known commands:
  create       Create the file layout for a Python distribution
  exe          Run #! executable files
  help         Display help
  make-config  Install a package and create a fresh config file/directory
  points       Show information about entry points
  post         Run a request for the described application
  request      Run a request for the described application
  serve        Serve the described application
  setup-app    Setup an application, given a config file

我的 CKAN 根目录:usr/lib/ckan/default/src 到 ckan 配置文件的路径:/etc/ckan/default

希望有人可以帮助解决我的问题。谢谢。

4

1 回答 1

1

抱歉,回答迟了,但您需要在 /usr/lib/ckan/default/src/ckan 上下文中才能执行该命令。

于 2014-12-09T21:36:08.203 回答