I have a problem with pydev for eclipse and panda3d. With panda3d the most basic python script looks like this:
eclipse tells me, that it cant resolve the import, but the script runs fine anyhow. Since i am a beginner to python and panda3d it would be great for me to just get the errors and warnings that are really important to me. And since the above example runs without any problems i am getting a little confused with the output from my IDE. Is there anywhere where i can tell pydev/eclipse where it can find direct.directbase.DirectStart? Does anyone else had this problem?
It works when running from eclipse or are you running from the shell?
Usually, it's just a matter of correctly specifying your system and project pythonpaths correctly (http://fabioz.com/pydev/manual_101_root.html), but it may be that it is some module that's dynamically loaded (so, you would need to add it to the forced builtins -- but only if that's really only available at runtime -- the manual has some notes about that too).
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.