Panda 3d import module error

I am trying to learn panda 3d but I get this error

importerror no module named direct.showbase.showbase 

I am using the latest versions of panda 3d 1.7.2, python 2.7 on windows xp, how to fix the error?

+4
source share
1 answer

http://www.panda3d.org/forums/viewtopic.php?t=10363

Panda 3D on Windows comes with a special version of python, pre-configured to work correctly with Panda, that python starts with ppython .

Otherwise, you need to add the Panda libraries to your Python path from the Panda installation. There is a file called panda3d.pth that has a path to python, and you can copy this file to C:\[Python Version]\Lib\site-packages .

I do not know what the Panda3d version of python is, but you will need to run this if you do not want to use ppython .

+6
source

Source: https://habr.com/ru/post/1384501/


All Articles