skip to Main Content

(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

the error

the error

3

Answers


  1. Chosen as BEST ANSWER

    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.


  2. direct is part of panda3d, which is a dependency of ursina. I suggest making sure it installed correctly. Maybe try reinstalling.

    Login or Signup to reply.
  3. 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):

    • replace pip with your pip version/command
    • sudo is optional
    (sudo) pip3 install ursina
    (sudo) pip3 install panda3d
    

    If you want the latest version of ursina, you can do (sudo) pip install git+https://github.com/pokepetter/ursina.git

    Best wishes, Lixt

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search