I am trying to install and use panda3d and I keep getting the error message “python.exe has stopped working”.
I have tried a number of the samples and I get what looks like a console screen with some text. It gets as far as and then the windows error pops up. I have also tried opening python in a command line window and added the line “import direct.directbase.DirectStart” before hitting “Enter”. This caused the same error to occur.
I have tried looking for a log file in “AppData|LocalLow|…” but there is no panda3d directory there.
I’m running win7 64 bit and installation of panda seemed to go fine. Does anyone know what the problem is or how I can fix it?
Apologies if this is a known problem that has been brought up before, but I haven’t been able to find any relevant information. Any help with this would be greatly appreciated.
It’s very strange that from the Start menu it doesn’t work. But from commandline you should type a different command: can you try to launch ppython Tut-Asteroids.py (note the double ‘p’, here for more informations)?
Done, gave me “ppython has stopped working” again. I forgot to mention earlier that I have also tried uninstalling and re-installing panda. Also I’m using version 1.7.0 of panda.
Have you tried raising the Panda verbosity? What happens if you execute the following? Can you detect in the console the last message before the crash?
Ok, that gave me a lot of output. It didn’t get as far a run() but crashed on the line before. The last line in the console before the crash is again .
I’ve just tried the online demos. Installing the runtime was fine and it managed to get the .p3d files. I got as far as a green, circular button with a right arrow in it (play, I presume). When I clicked this there was a slight hang and then I got a windows error popup saying “p3dpythonw.exe has stopped working”.
Well. Whatever’s going wrong, it’s pretty fundamental. Panda’s not doing much more than a CreateWindow() call, and boom.
I’m not sure how to proceed from here. Are you comfortable with C++ development? Would it be an option for you to download and build the Panda source and attempt to reproduce the crash in a development environment?
I am fine with C++, but I’m not used to the build systems. I’ve had a look through the documentation and its going to take too much time for me to understand how to compile it all at the moment. I should be able to try again next week though. Thanks,