I’m a big noob at this kind of game making so bear with me. I have a python 2.5.2 on my computer and i want to use that one with panda. It says to create a panda.pth file inside python that contains the path of the panda directory. How would I go about doing this?
1 Like
create a file called panda.pth
The content of the file is something like:
d:\panda3D-1.6.1
d:\panda3D-1.6.1\bin
Put the file under your python directory, e.g. C:\Python25
create an empty file. Put your panda3d dir in it.
The most convenient way is to add a path configuration file to a directory that’s already on Python’s path, usually to the …/site-packages/ directory. Path configuration files have an extension of .pth, and each line must contain a single path that will be appended to sys.path. (Because the new paths are appended to sys.path, modules in the added directories will not override standard modules. This means you can’t use this mechanism for installing fixed versions of standard modules.)
Paths can be absolute or relative, in which case they’re relative to the directory containing the .pth file. See the documentation of the site module for more information.
from docs.python.org/install/index.ht … earch-path