2
$\begingroup$

I'm fairly sure I'm doing something wrong and this isn't a bug, but when I installed blender from the 'blender' repository and have 2.66a running in an Ubuntu 13.10 VM, I got problems with using Python in the console.
After starting blender I get the following warnings:

Color management: using fallback mode for management
connect failed: No such file or directory

After this when I try to type in any Python commands at the terminal, nothing happens. The >>>, suggesting an interactive Python session also don't appear.

What am I doing wrong?

$\endgroup$
  • $\begingroup$ Are you running the GUI-less version of Ubuntu? $\endgroup$ – CharlesL Jan 17 '14 at 17:24
  • $\begingroup$ no, the gui appears in the background $\endgroup$ – calben Jan 17 '14 at 19:52
  • $\begingroup$ Does the same thing happen if you use a portable archive from blender.org? $\endgroup$ – gandalf3 Jan 17 '14 at 20:02
  • $\begingroup$ Same thing happened. But the console I get with Shift+F4 does work. Should the interactive python environment automatically start on the terminal from which Blender is started or am I wrong in that assumption? $\endgroup$ – calben Jan 17 '14 at 20:35
  • 1
    $\begingroup$ For the colour management - read this for the console this is an option but usually you would use blenders builtin python console. The terminal you start blender from is normally used for debugging output - not interactive use. $\endgroup$ – sambler Jan 18 '14 at 4:10
1
$\begingroup$

As mentioned by sambler, the terminal from which blender is started is not normally used as an interactive python console. (however it is possible)

Usually one uses the python console built into the GUI.

The python console is an editor just like the 3D view or the text editor, so you can arrange your screen layout however you like to incorporate it with your workflow.

For example:

enter image description here

You can even split an editor into a separate window (as in the kind handled by the window manager).
This can be accomplished by pressing ShiftLMB on the area splitting corner and dragging, or by selecting the option from the editor areas menu:

enter image description here

For example:

enter image description here

Note that you probably still want the terminal from which blender was started open, as any error messages/warnings are printed to stdout and will appear there (they will not appear in the interface by default, but there is a workaround).

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.