2012-02-19 2 views
2

종속 설치 :이 라인 핍에 도달 할 때마다, 그러나 http://devcenter.heroku.com/articles/djangoHeroku가 설치 찾는데 실패 PIP ​​/ I이 지침은 여기에 나열된 다음 Heroku가에 장고 프로젝트를 넣어하려고

가 실패 : git push heroku master

-----> Heroku receiving push 
-----> Python/Django app detected 
-----> Preparing virtualenv version 1.7 
    New python executable in ./bin/python 
    Installing  distribute...........................................................................................................................................................................................done. 
    Installing pip...............done. 
-----> Activating virtualenv 
-----> Installing dependencies using pip version 1.0.2 
    Downloading/unpacking Brlapi==0.5.5 (from -r requirements.txt (line 1)) 
    Could not find any downloads that satisfy the requirement Brlapi==0.5.5 (from -r  requirements.txt (line 1)) 
    No distributions at all found for Brlapi==0.5.5 (from -r requirements.txt (line 1)) 
.  Storing complete log in /app/.pip/pip.log 
!  Heroku push rejected, failed to compile Python/django app 

To [email protected]:fierce-stone-5846.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:fierce-stone-5846.git 

문제는 pip가 종속성을 찾을 수없는 것 같습니다. 나는 어디에서나 답을 찾았으므로 조언을 해줄 수있어서 유용 할 것입니다. 필요하면 여기 requirements.txt 파일과 함께 프로젝트를 찾을 수있을 경우 https://github.com/Ballaw/Twithub

답변

1

stackoverflow question에서 당신은 할 수 있습니다 :

virtualenv --no-site-packages venv 

--no-사이트 패키지 옵션에서 가상 환경을 방지 시스템의 모든 패키지에 액세스 할 수 있습니다.

+0

그게 답 이었지만 또 다른 문제가 있습니다. 나는 그것이 PYTHONPATH와 관련이 있다고 생각합니다. heroku에서 앱을 실행하려고 할 때마다 로그는 다음과 같습니다. – ballaw