在Python 3.7.4上进行错误的Pyopengl pip安装后,尝试从here安装最新的Pyopengl.whl。
但是最新版本 PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl 出现以下错误。它已被放置在与运行相同的目录中,并且pip也在其最新版本上,
如何在Windows10Pro-64位上安装win_amd64.whl?
PS C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.7> Get-CimInstance Win32_OperatingSystem | Select-Object Caption, OSArchitecture | FL
Caption : Microsoft Windows 10 Pro
OSArchitecture : 64-bit
PS C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.7> pip install PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl
ERROR: PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
PS C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.7> pip install 'C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.7\PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl'
ERROR: PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
EDIT1
将Python和pip升级到最新的v3.8.2 &v20.0.2分别提供了一个错误。whl位于主python路径(C:... Program \ Python 3.8)中,并从其运行。 现在缺少什么?
**错误:此平台不支持PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl。*
PS C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8> python -V
Python 3.8.2
PS C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8> pip -V
pip 20.0.2 from c:\users\user0\appdata\local\programs\python\python38-32\lib\site-packages\pip (python 3.8)
PS C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8> pip install PyOpenGL-3.1.5-cp38-cp38-win_amd64,whl
ERROR: Invalid requirement: 'PyOpenGL-3.1.5-cp38-cp38-win_amd64,whl'
PS C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8> pip install 'C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8\PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl'
ERROR: PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.
PS C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8> pip install --find-links= 'C:\Users\User0\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.8\PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl'
ERROR: PyOpenGL-3.1.5-cp38-cp38-win_amd64.whl is not a supported wheel on this platform.