pygerrit가 내 컴퓨터에 설치되어 있습니다. 나는 그것을 설치 명령 아래 실행 :pygerrit.rest를 사용할 때의 문제
pip install pygerrit
그러나 시도가 나머지 가져올 때 오류를 얻고있다 :
from pygerrit.rest import GerritRestAPI
>>ImportError: No module named rest
내가 뭔가를 놓치고를?
pygerrit가 내 컴퓨터에 설치되어 있습니다. 나는 그것을 설치 명령 아래 실행 :pygerrit.rest를 사용할 때의 문제
pip install pygerrit
그러나 시도가 나머지 가져올 때 오류를 얻고있다 :
from pygerrit.rest import GerritRestAPI
>>ImportError: No module named rest
내가 뭔가를 놓치고를?
pygerrit 0.2.2를 virtualenv에 설치하면 같은 문제가 발생합니다.
imp.find_module에게 ("pygerrit")를 실행하는 경우 (없음, '/path/env/lib/python2.7/site-packages/pygerrit'('', '' 5))
LS는 초기화 평 client.py error.py events.py 모델을 /local/repo/env/lib/python2.7/site-packages/pygerrit. py ssh.py stream.py 초기화 된 .pyc client.pyc error.pyc events.pyc models.pyc ssh.pyc stream.pyc
GitHub의에서 내용을 그 비교하면 폴더가 없습니다 "휴식" https://github.com/sonyxperiadev/pygerrit/tree/master/pygerrit
그래서 설치 프로그램에 문제가있는 것 같습니다. 대신 Github에서 파일 복사를 시도하면 더 잘 작동합니다.
/다니엘
이것은 이전에 pypi에 업로드되지 않은 버전 0.2.3에서 수정되었지만 지금은 변경되었습니다. – user1147851