因此,我建立了一個名爲vrmlmol
的virtualenv,它帶有system-site-packages。在vrmlmol
env中,我安裝了yolk
和pip
。
這裏是輸出 -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
正如你看到PyOpenGL的2.X版本PyPI將不存在。當我嘗試安裝PyOpenGL和PyVRML我碰到下面的相關性錯誤:
(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
由於這些包不存在,我不看使用PIP安裝更新PyVRML或較早PyOpenGL的任何選項。有什麼幫助嗎?我試圖讓一些同事能夠輕鬆地開始他們自己的設置。所以pip對他們來說很好。