2017-09-19 3 views
0

을 확인할 수있다 성공적으로CKAN 오류를 설치 - 여기에 이유

pip install --ignore-installed -e git+https://github.com/okfn/[email protected]#egg=ckan 
를 사용하여 나는 내가 자식을 다운로드 할 수 있었다 이러한 도구를 설치 한 후 CKAN 2.7.0

python-setuptools-36.2.4-4.mga7.noarch.rpm 
pgdg-redhat96-9.6-3.noarch.rpm 

xml-commons git subversion mercurial postgresql96-server postgresql96-devel postgresql96 python-devel libxslt libxslt-devel libxml2 libxml2-devel python-virtualenv gcc gcc-c++ make java-1.6.0-openjdk redis tomcat tomcat-webapps tomcat-admin-webapps xalan-j2unzip policycoreutils-python mod_wsgi httpd tcl-devel redis 

을 위해 설치 한 패키지의 목록

는 그때 때 지금 pg_config에게

PATH=$PATH:/usr/pgsql-9.6/bin 

을 인식 ckan 위해 상기 경로를 pgsql-9.6을 첨가 I 사람이 오류가 의미 내가 설치할 필요가 무엇을/나는 그것을 대단히 감사하겠습니다 수정할 것을 설명 할 수있는 경우 ttempt이 오류

ImportError: No module named pytz 

---------------------------------------- 
Cleaning up... 
Command /usr/lib/ckan/default/bin/python -c "import setuptools;__file__='/usr/lib/ckan/default/build/pbr/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Aun2rR-record/install-record.txt --single-version-externally-managed --install-headers /usr/lib/ckan/default/include/site/python2.7 failed with error code 1 in /usr/lib/ckan/default/build/pbr 
Storing complete log in /usr/lib/ckan/.pip/pip.log 

으로는 실패 requirements.txt 설치를 실행합니다. pytz이 없다는 패키지가 있지만 그 정보를 찾을 수 없습니다. VIRTUALENV과 핍 - 요구 사항 - docs.txt 내부에 설치

감사

+0

ImportError 위의 줄을 입력하십시오. –

답변

0

pytz의 필수의 필수는 requirements.txt을 실행하기 전에 실행해야합니다.

관련 문제