Python 获取运行时错误:可用的OpenGL驱动程序未导出glCreateProgram
我正在运行Win 10,DirectX v12版本382.05 这是我从你那里抄来的。我安装了arcade、psychoPy和DataClassPython 获取运行时错误:可用的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
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驱动程序,可从