[w] Backend (<module 'glumpy.app.window.backends.backend_glfw' from 'C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\glumpy\\app\\window\\backends\\backend_glfw.py'>) not available
[w] Backend (<module 'glumpy.app.window.backends.backend_pyglet' from 'C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\glumpy\\app\\window\\backends\\backend_pyglet.py'>) not available
[w] Backend (<module 'glumpy.app.window.backends.backend_sdl' from 'C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\glumpy\\app\\window\\backends\\backend_sdl.py'>) not available
[w] Backend (<module 'glumpy.app.window.backends.backend_sdl2' from 'C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\glumpy\\app\\window\\backends\\backend_sdl2.py'>) not available
[w] Backend (<module 'glumpy.app.window.backends.backend_osxglut' from 'C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\glumpy\\app\\window\\backends\\backend_osxglut.py'>) not available
[w] Backend (<module 'glumpy.app.window.backends.backend_freeglut' from 'C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\glumpy\\app\\window\\backends\\backend_freeglut.py'>) not available
[w] Backend (<module 'glumpy.app.window.backends.backend_qt5' from 'C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\glumpy\\app\\window\\backends\\backend_qt5.py'>) not available
[w] Backend (<module 'glumpy.app.window.backends.backend_pyside' from 'C:\\Users\\Max\\AppData\\Local\\Programs\\Python\\Python37\\lib\\site-packages\\glumpy\\app\\window\\backends\\backend_pyside.py'>) not available
[x] No suitable backend found
Traceback (most recent call last):
File "c:\Users\Max\.vscode\extensions\ms-python.python-2019.8.29288\pythonFiles\ptvsd_launcher.py", line 43, in <module>
main(ptvsdArgs)
File "c:\Users\Max\.vscode\extensions\ms-python.python-2019.8.29288\pythonFiles\lib\python\ptvsd\__main__.py", line 432, in main
run()
File "c:\Users\Max\.vscode\extensions\ms-python.python-2019.8.29288\pythonFiles\lib\python\ptvsd\__main__.py", line 316, in run_file
runpy.run_path(target, run_name='__main__')
File "C:\Users\Max\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 263, in run_path
pkg_name=pkg_name, script_name=fname)
File "C:\Users\Max\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 96, in _run_module_code
mod_name, mod_spec, pkg_name, script_name)
File "C:\Users\Max\AppData\Local\Programs\Python\Python37\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "d:\VSCODEProjects\glumpy_escape_pyglet\glumpy\examples\app-simple.py", line 7, in <module>
window = app.Window()
File "C:\Users\Max\AppData\Local\Programs\Python\Python37\lib\site-packages\glumpy\app\__init__.py", line 157, in __new__
raise NotImplementedError
这个问题是后端不可用,解决办法
pip install pyglet
问题:我用pip
安装glfw
依然是找不到。