[GAMES105]运行错误:Could not build wheel for direct,whih is required to install pyproject.toml-based

前言

本篇文章是GAMES105 Lab作业运行时遇到的错误 :

在这里插入图片描述

在这里插入图片描述

个人也是找了很久才在StackOverflow找到了一个解决方法:StackOverflow解决方法

原答案:direct is part of panda3d, which is a dependency of ursina. I suggest making sure it installed correctly. Maybe try reinstalling.
翻译: directpanda3d的一部分,而panda3d又依赖于ursina,所以安装ursina即可

故运行以下指令即可解决问题:

pip3 install ursina

在这里插入图片描述