2014-06-10 2 views
1

공개 데이터 포털로 CKAN을 사용 중이며 https://github.com/ckan/ckanext-archiver의 지침에 따라 아카이버 확장을 설치하고 있습니다. 다음과 같이 셀러리를 설치했습니다 :ckanext-archiver를 사용할 때 'celeryd'명령을 알 수 없음

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/기본/src에 ckan 설정 파일에 경로 :/등/ckan/기본

희망 누군가가 내 문제를 해결하는 데 도움이 될 수 있습니다. 감사.

+0

paster 명령을 실행하기 전에 가상 환경을 활성화 했습니까? 그것은'와 비슷한 것이어야합니다./usr/lib/ckan/default/bin/activate' (앞의 점을 유지하십시오 - 중요합니다!) 그러면'paster'는 올바른'site-packages'에서 셀러리 패키지를 찾을 수 있습니다. – jweyrich

+0

[ckanext-archiver를 설치할 때 셀레라는 모듈이 없습니다] (http://stackoverflow.com/questions/24113057/no-module-named-celery-when-installing-ckanext-archiver) – jweyrich

답변

1

늦게 답변을 드려 죄송합니다. 명령을 수행하려면/usr/lib/ckan/default/src/ckan 컨텍스트에 있어야합니다.