CentOS 5.4에서 mod_wsgi를 실행시키려는 엄청난 시도로, 파이썬 2.6을 instructions here 다음의 옵션 라이브러리로 추가했습니다. 서버를 아파치 로그 인쇄 핑이 오류를 시도 할 때를 제외 구성은 잘 보인다CentOS : make python 2.6 django를 참조하십시오.
mod_wsgi (pid=20033, process='otalo', application='127.0.0.1|'): Loading WSGI script '...django.wsgi'. [Sat Mar 27 16:11:45 2010] [error] [client 171.66.52.218] mod_wsgi (pid=20033): Target WSGI script '...django.wsgi' cannot be loaded as Python module. [Sat Mar 27 16:11:45 2010] [error] [client 171.66.52.218] mod_wsgi (pid=20033): Exception occurred processing WSGI script '...django.wsgi'. [Sat Mar 27 16:11:45 2010] [error] [client 171.66.52.218] Traceback (most recent call last): [Sat Mar 27 16:11:45 2010] [error] [client 171.66.52.218] File "...django.wsgi", line 8, in [Sat Mar 27 16:11:45 2010] [error] [client 171.66.52.218] import django.core.handlers.wsgi [Sat Mar 27 16:11:45 2010] [error] [client 171.66.52.218] ImportError: No module named django.core.handlers.wsgi
내가 '수입 장고'의 명령 줄을 설치하고 시도 내 python2.6로 이동, 모듈이 발견되지 않는 (ImportError). 그러나, 내 기본 파이썬 2.4 설치 (여전히 잘 작동) 성공적으로 가져올 수 있습니다. 파이썬 2.6에서 django를 가리키는 방법은 무엇입니까?
미리 감사드립니다.
감사합니다. 동일한 논리에 의해 나는 지금 되돌아 가서 병렬 설치 (MySQLdb, wadofstuff serializers 등)를위한 다른 파이썬 플러그인을 설치해야한다. – Neil