I have just started using Python as a language.
I have built blender as python modules using the instructions at https://wiki.blender.org/index.php/User:Ideasman42/BlenderAsPyModule.
I have built it successfully on Mac OS X. The last operations I have performed successfully, as instructed by the webpage, are
cp ./bin/bpy.so /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/
cp -R ./bin/2.77 /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/
However, when I run the last test:
python -c "import bpy ; bpy.ops.render.render(write_still=True)"
I get:
File "", line 1, in ImportError: No module named 'boy'
Even in PyCharm IDE, PyCharm IDE does not recognise import bpy
.
I can see bpy.so
and 2.77 on the site packages for python. I do not think the 2.77 contains the file in the correct structure.
How do you correctly copy the built files correctly to the Python site package folder?