2013-03-18 3 views
1

appfog를 처음 사용하고 서버에 내 django 프로젝트를 푸시하고 싶지만 패키지를 설치할 수없는 것 같습니다. 무엇이 문제를 방지하고 있는지 알지 못하며 쉘에 액세스 할 수있는 방법을 찾을 수 없습니다. 어떤 아이디어가 계속되거나 어떻게 해결할 수 있습니까?Appfog Django app이 패키지 오류를 배포합니다.

Uploading Application: 
    Checking for available resources: OK 
    Processing resources: OK 
    Packing application: OK 
    Uploading (53K): OK 
Push Status: OK 
Stopping Application 'stargazer': OK 
Staging Application 'stargazer': OK            
Starting Application 'stargazer': .......... 
Error: Application [stargazer] failed to start, logs information below. 

====> /logs/staging.log <==== 

Requirement already satisfied (use --upgrade to upgrade): pip==1.1 in ./python/lib/python2.7/site-packages/pip-1.1-py2.7.egg 
Cleaning up... 
Requirement already satisfied (use --upgrade to upgrade): django in /usr/lib/python2.7/dist-packages 
Cleaning up... 
Downloading/unpacking gunicorn 
    Running setup.py egg_info for package gunicorn 

Installing collected packages: gunicorn 
    Running setup.py install for gunicorn 

    Installing gunicorn_paster script to /tmp/d20130318-32281-1qsiluq/staged/python/bin 
    Installing gunicorn script to /tmp/d20130318-32281-1qsiluq/staged/python/bin 
    Installing gunicorn_django script to /tmp/d20130318-32281-1qsiluq/staged/python/bin 
Successfully installed gunicorn 
Cleaning up... 
Downloading/unpacking Django==1.5 (from -r requirements.txt (line 1)) 
    Running setup.py egg_info for package Django 

    warning: no previously-included files matching '__pycache__' found under directory '*' 
    warning: no previously-included files matching '*.py[co]' found under directory '*' 
Downloading/unpacking MySQL-python==1.2.4 (from -r requirements.txt (line 2)) 
    Running setup.py egg_info for package MySQL-python 
    The required version of distribute (>=0.6.28) is not available, 
    and can't be installed while this script is running. Please 
    install a more recent version first, using 
    'easy_install -U distribute'. 

    (Currently using distribute 0.6.24 (/tmp/d20130318-32281-1qsiluq/staged/python/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg)) 
    Complete output from command python setup.py egg_info: 
    The required version of distribute (>=0.6.28) is not available, 

and can't be installed while this script is running. Please 

install a more recent version first, using 

'easy_install -U distribute'. 



(Currently using distribute 0.6.24 (/tmp/d20130318-32281-1qsiluq/staged/python/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg)) 

---------------------------------------- 
Command python setup.py egg_info failed with error code 2 in /tmp/d20130318-32281-1qsiluq/staged/python/build/MySQL-python 
Storing complete log in /root/.pip/pip.log 
Requirement already satisfied (use --upgrade to upgrade): django in /usr/lib/python2.7/dist-packages 
Cleaning up... 
Requirement already satisfied (use --upgrade to upgrade): gunicorn in ./python/lib/python2.7/site-packages 
Cleaning up... 

감사합니다 모두 아래

CRASH 메시지입니다.

+0

'easy_install -U distribute' 오류 제안을 시도해 보셨습니까? – catherine

+0

나는 응용 프로그램의 껍질에 들어갈 수 없다 ... 그래서 나는 그것을 할 수 없다 .... 내 requirements.txt는 이미 그것의 내부에 배포했다. – user805981

답변

1

MySQL-Python 요구 사항을 1.2.3으로 다운 그레이드하면 이미 해당 버전이 설치되어 있으므로이를 수정하는 것으로 보입니다.