I'm using the python-ogre SDK, located here, under Windows 7. The SDK seems to have its own interface to the python 2.7 interpreter, judging from the fact that the generic interpreter (the one located in C:\python27) must be present in order for the SDK to function.
If the generic python 2.7 interpreter is not installed, the python-ogre interpreter complains that python27.dll is missing.
In addition, modules seem to be highly compartmentalized. The python-ogre modules are only available under the python-ogre interpreter, and not the generic python 2.7 interpreter. The inverse is also true. Modules installed to the generic python installation are not available to the python-ogre SDK interpreter.
I'm not really sure what's going on here, so general clarifications would be helpful.
The Import Problem
I recently installed PyYAML and it imports successfully in the standerd python 2.7 interpreter. However, when I try to import it from the python-ogre SDK's interpreter, I get an
ImportError: No module named yaml error.
This may be a general python issue, but it does seem to relate directly to the python-ogre SDK.
As usual, I will be happy to provide additional information upon request. Any advice or help would be greatly appreciated!
OK GOT IT!
I just did a sys.path.append('C:\Python27\lib\site-packages'). Apparently all 3rd party modules are installed to this directory.
Is this safe to do? Do I risk creating conflicts between python-ogre and regular ol' python?