2014-03-12 11 views
0

그래서 system-site-packages가있는 virtualenv를 설정하고 vrmlmol라고합니다. vrmlmol 환경 내에서 yolkpip을 설치했습니다. 당신이 PyPI에 존재하지 않는 PyOpenGL의 2.X 버전을 참조로
다음은 출력 -PyVRML97에는 PyOpenGL의 이전 버전이 필요합니다.

(vrmlmol)[email protected]:~/vrmlmol$ yolk -V PyOpenGL 
PyOpenGL 3.1.0b1 
PyOpenGL 3.0.2 
PyOpenGL 3.0.1 
(vrmlmol)[email protected]:~/vrmlmol$ yolk -V PyVRML97 
PyVRML97 2.3.0a4 

입니다. 이 패키지 이후

(vrmlmol)[email protected]:~/vrmlmol$ pip install -I PyOpenGL PyVRML97 
Downloading/unpacking PyOpenGL 
    Downloading PyOpenGL-3.0.2.tar.gz (891kB): 891kB downloaded 
    Running setup.py egg_info for package PyOpenGL 

    warning: no previously-included files matching '*.odt' found anywhere in distribution 
    warning: no previously-included files matching '*.odp' found anywhere in distribution 
    warning: no previously-included files matching '.cvsignore' found anywhere in distribution 
    warning: no previously-included files matching '*.diff' found anywhere in distribution 
    warning: no previously-included files found matching 'src/*.h' 
    warning: no previously-included files found matching 'src/*.xml' 
    warning: no previously-included files found matching 'src/*.zip' 
    warning: no previously-included files found matching 'src/*.pdf' 
    warning: no previously-included files found matching 'src/*.zip' 
    warning: no previously-included files found matching 'src/*.txt' 
    warning: no files found matching 'src/win32deps.py' 
    warning: no files found matching 'src/toglinstall/get_togl.py' 
    warning: no files found matching 'ChangeLog.txt' 
    warning: no previously-included files found matching 'OpenGL_accelerate' 
Downloading/unpacking PyVRML97 
    Could not find a version that satisfies the requirement PyVRML97 (from versions: 2.2.0a4, 2.2.0a5, 2.2.0a5, 2.2.0a6, 2.2.0a6, 2.2.0a7, 2.2.0a7, 2.2.0a8, 2.2.0a8, 2.3.0a1, 2.3.0a1, 2.3.0a2, 2.3.0a2, 2.3.0a3, 2.3.0a3, 2.3.0a4, 2.3.0a4) 
Cleaning up... 
No distributions matching the version for PyVRML97 
Storing complete log in /home/debanjan/.pip/pip.log 

내가 새로운 PyVRML 또는 이전 PyOpenGL를 설치하는 PIP를 사용하여 모든 옵션이 표시되지 않는 존재하지 않는 : 나는 PyOpenGL 및 PyVRML를 설치하려고 할 때 다음과 같은 종속 실패를 얻을. 도움이 필요 하신가요? 나는 몇몇 동료들이 자신의 셋업을 쉽게 시작할 수 있도록 노력하고 있습니다. 그래서 핍은 그들에게 좋은 것이 될 것입니다.

답변

2

기본적으로 알파/베타 릴리스 설치를 허용하지 않는 PIP의 최근 변경 사항의 부작용입니다. PyVRML97의 마지막 "최종"릴리즈는 너무 오래되어서 PyOpenGL 2.x에 의존하기 때문에 오래되었습니다. (더 이상 사용되지 않아서 자동 툴을 통해 SourceForge에서 더 이상 검색 할 수 없습니다).

불행히도 저는 PyVRML97 및 OpenGLContext의 최종 릴리스를 얻지 못하고 있습니다. 종종 PyOpenGL의 개인 테스트 환경으로 취급하기 때문에. 수정하기 전까지는 알파 버전을 명시 적으로 지정해야합니다.

$ pip install "PyVRML97==2.3.0a4" 

모두의 현재 가장 최근에 출시 된 버전 PyVRML97/OpenGLContext의 작업 환경, 전체를 설치하려면 :

이 특정 문제를 벗어나려고 , 당신은 명시 적으로 지정 PyVRML97 자료가 필요합니다 (리눅스) 파이썬 2.7의 패키지로, 명령 행은 다음과 같이 보일 것이다 : 당신은 시스템 레벨에서 설치 추가 종속성을 필요로하는 베개를 찾을 수 있습니다

$ virtualenv oglc-env 
$ source oglc-env/bin/activate 
(oglc-env)$ pip install PyOpenGL PyOpenGL_accelerate "PyVRML97==2.3.0a4" simpleparse numpy "OpenGLContext==2.2.0a3" pydispatcher pillow 

가 설치 얻을 (나는 이미 그이 내 컴퓨터). 방금 쿠분투 13.10 시스템에서 설치 프로세스를 테스트하고 결과로 나오는 virtualenv로 OpenGLContext 데모 스크립트를 실행했습니다.