getting started: no module called bpy outside of Blender After sudo apt-get install blender on Ubuntu 12.10, I have Blender version 2.63

However, I can not import the relevant scripting Library

Python 3.2.3 (default, Sep 25 2013, 19:36:10) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
&gt;&gt;&gt; import bpy
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named bpy
&gt;&gt;&gt; import Blender
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
ImportError: No module named Blender


Later on, I would like to use numPy and Blender to create some figures for 3D printing, as a friend has suggested.
bpy is only available when a script is being run from the Python interpreter in Blender. You can't access it from an external interpreter. The bpy module itself is located in the Python environment supplied with Blender (if you download the zip-file, rather than the installer).

To use the bpy module, open the script in Blender's Script Editor.