我使用CKAN作为我的开放数据门户,并按照https://github.com/ckan/ckanext-archiver的说明安装Archiver Extension。我已经安装了芹菜,如图所示:
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
希望有人能帮助解决我的问题。感谢。
答案 0 :(得分:1)
对于迟到的回答感到抱歉,但您需要在/ usr / lib / ckan / default / src / ckan上下文中才能执行命令。