오픈 데이터 포털로 CKAN을 사용하고 있습니다. 이것은 Pylons 프레임 워크를 사용하여 파이썬으로 작성되었습니다. 플러그인 ckanext-pages을 통합하고 싶습니다. 그래서 나는 아래 단계를 사용했다.CKAN PluginNotFoundException in Pages Extension
1. . /usr/lib/ckan/default/bin/activate
2. pip install -e 'git+https://github.com/ckan/ckanext-pages.git#egg=ckanext-pages'
3. cd /usr/lib/ckan/default/src/ckanext-pages
4. python setup.py develop
여전히 예외가 있습니다. 내가 CKAN과 아파치 서버를 재시동하려고했다는 것을 감안할 때.
ckan.plugins.core.PluginNotFoundException: pages
하지만이 파이썬 setup.py가 명령을 개발하고 실행할 때 아직도 플러그인이 제대로 설치합니다. 아래 출력을 참조하십시오.
running develop
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running egg_info
writing ckanext_pages.egg-info/PKG-INFO
writing namespace_packages to ckanext_pages.egg-info/namespace_packages.txt
writing top-level names to ckanext_pages.egg-info/top_level.txt
writing dependency_links to ckanext_pages.egg-info/dependency_links.txt
writing entry points to ckanext_pages.egg-info/entry_points.txt
WARNING: ckanext is a namespace package, but its __init__.py does
not declare_namespace(); setuptools 0.7 will REQUIRE this!
(See the setuptools manual under "Namespace Packages" for details.)
reading manifest file 'ckanext_pages.egg-info/SOURCES.txt'
writing manifest file 'ckanext_pages.egg-info/SOURCES.txt'
running build_ext
Creating /usr/local/lib/python2.7/dist-packages/ckanext-pages.egg-link (link to .)
Removing ckanext-pages 0.1 from easy-install.pth file
Adding ckanext-pages 0.1 to easy-install.pth file
Installed /usr/lib/ckan/default/src/ckanext-pages
Processing dependencies for ckanext-pages==0.1
Finished processing dependencies for ckanext-pages==0.1
플러그인이 올바르게 설치되었다고 표시 되더라도 예외가 발생합니다. 이 문제를 어떻게 해결할 수 있습니까?
나는 소스/usr/lib/ckan/default/bin/activate을 실행 한 다음 위의 모든 4 명령을 실행 해 보았습니다. 여전히 같은 예외가 발생합니다. – Techie