所以我设置了一个 virtualenv,打开了 system-site-packages,名为vrmlmol
. 在vrmlmol
我安装yolk
的环境中pip
。
这是输出 -
(vrmlmol)debanjan@thinkpad:~/vrmlmol$ yolk -V PyOpenGL
PyOpenGL 3.1.0b1
PyOpenGL 3.0.2
PyOpenGL 3.0.1
(vrmlmol)debanjan@thinkpad:~/vrmlmol$ yolk -V PyVRML97
PyVRML97 2.3.0a4
如您所见,PyPI 中不存在 2.x 版本的 PyOpenGL。当我尝试安装 PyOpenGL 和 PyVRML 时,出现以下依赖失败:
(vrmlmol)debanjan@thinkpad:~/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 对他们来说会很高兴。