(sorry for my English), i’m trying to use ursina on visual studio but when i run my code the IDE show a file: texture.py and and in particular the error: no module named ‘direct’
I try to install direct but there are other error and i don’t understand why for me this module is necessary and in internet i don’t found of it nothing.
thanks for the help
sorry,the start of the error
3
Answers
thank you very very much, my probem was that with pip panda3d have some problems end i decided to install it by the online site and now my program go. i never thought that the problem was in panda3d(that contain direct) installation.
direct
is part ofpanda3d
, which is a dependency ofursina
. I suggest making sure it installed correctly. Maybe try reinstalling.It seems panda3d is not correctly installed. Direct is part of panda3d and ursina is made over panda3d, so if direct is not correctly installed, then ursina will not run.
I recommend you to reinstall ursina and panda3d (latest version):
If you want the latest version of ursina, you can do
(sudo) pip install git+https://github.com/pokepetter/ursina.git
Best wishes, Lixt