Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/305.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 获取运行时错误:可用的OpenGL驱动程序未导出glCreateProgram_Python_Arcade - Fatal编程技术网

Python 获取运行时错误:可用的OpenGL驱动程序未导出glCreateProgram

Python 获取运行时错误:可用的OpenGL驱动程序未导出glCreateProgram,python,arcade,Python,Arcade,我正在运行Win 10,DirectX v12版本382.05 这是我从你那里抄来的。我安装了arcade、psychoPy和DataClass def basic_arcade_program(): # Basic arcade program # Displays a white window with a blue circle in the middle # Imports import arcade # Constants SCREEN

我正在运行Win 10,DirectX v12版本382.05

这是我从你那里抄来的。我安装了arcade、psychoPy和DataClass

def basic_arcade_program():
    # Basic arcade program
    # Displays a white window with a blue circle in the middle
    # Imports
    import arcade

    # Constants
    SCREEN_WIDTH = 600
    SCREEN_HEIGHT = 800
    SCREEN_TITLE = "Welcome to Arcade"
    RADIUS = 150
    # Open the window
    arcade.open_window(SCREEN_WIDTH, SCREEN_HEIGHT, SCREEN_TITLE)
    # Set the background color
    arcade.set_background_color(arcade.color.WHITE)
    # Clear the screen and start drawing
    arcade.start_render()
    # Draw a blue circle
    arcade.draw_circle_filled(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2, RADIUS, arcade.color.BLUE)
    # Finish drawing
    arcade.finish_render()
    # Display everything
    arcade.run()    


basic_arcade_program()
我得到了这个错误:

错误源于此行:

arcade.draw_circle_filled(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2, RADIUS, arcade.color.BLUE)

您的图形驱动程序是否合理地处于最新状态?DirectX v12版本382.05可能值得获得最新的openGL驱动程序,可从