Python Bindings Won't Install Properly

Problems building or running the engine, queries about how to use features etc.
Post Reply
Posts: 7
Joined: Fri Aug 16, 2019 10:17 pm

Python Bindings Won't Install Properly

Post by jlm »

Ogre Version: 1.12
Operating System: Ubuntu 18.04

I'm trying to use Ogre with Python bindings in Python 3.6. However, the bindings are not working properly, and if I try to import Ogre I get

Code: Select all

ModuleNotFoundError: No module named 'Ogre'
It seems very similar to this issue. However, I've checked that I have swig installed and that cmake is detecting it, and it is. However, the files listed in that post don't show up. I've set PythonInterp to look for Python3 (by setting PYTHON_EXECUTABLE), so while that was an issue before it should not be the issue now. If I grep for "python" in the Ogre build folder, all of the hits that come up are Python3.6. I can't find anything to indicate why those files don't exist. Does anyone have suggestions? Thank you.

Post Reply