PIP가 SVN에서 Python-CouchDB 실험 분기의 설치가 실패하는 이유는 무엇입니까?

StackOverflow https://stackoverflow.com/questions/1815963

문제

프로젝트를위한 패브릭/virtualenv/pip 자동 배포를 설정했으며 Python-CouchDB의 최신 실험 지점을 설치해야합니다. 당연히, 나는 이것을 핍 요구 사항 파일에 다음과 같이 고집합니다.

-e svn+http://couchdb-python.googlecode.com/svn/branches/experimental/httplib@195#egg=CouchDB-dev_r195

그러나 배포를 실행할 때 다음 오류와 추적을받습니다.

[192.168.1.200] out: Obtaining CouchDB from svn+http://couchdb-python.googlecode.com/svn/branches/experimental/httplib/#egg=CouchDB (from -r requirements.txt (line 1))
[192.168.1.200] out:   Checking out http://couchdb-python.googlecode.com/svn/branches/experimental/httplib/ to ./src/couchdb
[192.168.1.200] out:   Error [Errno 2] No such file or directory while executing command svn checkout -q http://couchdb-python.googlecode.com/svn/branches/experimental/httplib/ /home/sk/votersdaily/src/couchdb
[192.168.1.200] out: Exception:
[192.168.1.200] out: Traceback (most recent call last):
[192.168.1.200] out:   File "/usr/local/lib/python2.6/dist-packages/pip-0.6.1-py2.6.egg/pip.py", line 482, in main
[192.168.1.200] out:     self.run(options, args)
[192.168.1.200] out:   File "/usr/local/lib/python2.6/dist-packages/pip-0.6.1-py2.6.egg/pip.py", line 675, in run
[192.168.1.200] out:     requirement_set.install_files(finder, force_root_egg_info=self.bundle)
[192.168.1.200] out:   File "/usr/local/lib/python2.6/dist-packages/pip-0.6.1-py2.6.egg/pip.py", line 2409, in install_files
[192.168.1.200] out:     req_to_install.update_editable(not self.is_download)
[192.168.1.200] out:   File "/usr/local/lib/python2.6/dist-packages/pip-0.6.1-py2.6.egg/pip.py", line 1970, in update_editable
[192.168.1.200] out:     vcs_backend.obtain(self.source_dir)
[192.168.1.200] out:   File "/usr/local/lib/python2.6/dist-packages/pip-0.6.1-py2.6.egg/pip.py", line 3420, in obtain
[192.168.1.200] out:     ['svn', 'checkout', '-q'] + rev_options + [url, dest])
[192.168.1.200] out:   File "/usr/local/lib/python2.6/dist-packages/pip-0.6.1-py2.6.egg/pip.py", line 4320, in call_subprocess
[192.168.1.200] out:     cwd=cwd, env=env)
[192.168.1.200] out:   File "/usr/lib/python2.6/subprocess.py", line 621, in __init__
[192.168.1.200] out:     errread, errwrite)
[192.168.1.200] out:   File "/usr/lib/python2.6/subprocess.py", line 1126, in _execute_child
[192.168.1.200] out:     raise child_exception
[192.168.1.200] out: OSError: [Errno 2] No such file or directory

다음은 다음과 같습니다.

  • 오류는 파일이 다운로드되지 않으므로 setup.py를 찾지 못하는 것과 관련이 있습니다. Path/Home/Sk/voversdaily/SRC/CouchDB를 만드는 것을 거부하는 것 같습니다. 그러나 다른 패키지의 경우 항상 필요에 따라이 경로를 만들었습니다.
  • 루트와 로컬 사용자로 실행할 수 있으며 동일하게 실패합니다.
  • 디렉토리를 수동으로 작성하면 디렉토리가 현재 SVN 리포지토가 아니라고 말하고 덮어 쓰고 싶은지 묻는 프롬프트가 있습니다. 내가 그것을 닦아도 여전히 repo를 확인하지 않습니다.
  • PIP를 다시 설치하고 VirtualEnV를 재현했으며 버그가 재현됩니다.
  • 내 로컬 워크 스테이션 (VirtualEnV) 에서이 PIP 설치를 실행할 수 있습니다.

제안? 나는 이것이 일종의 라이브러리 나 허가 충돌이어야한다는 것을 알고 있지만, 나는 그것을 고정시키는 것처럼 보일 수 없다.

감사.

도움이 되었습니까?

해결책

John Paulett의 의견에 따라 서버에서 실행하려면 서버에 전복을 설치해야합니다.

가능하다면 계란이 내 얼굴에 차가워지고 싶습니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top