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$
7
  • $\begingroup$ Are you running the GUI-less version of Ubuntu? $\endgroup$
    – CharlesL
    Commented Jan 17, 2014 at 17:24
  • $\begingroup$ no, the gui appears in the background $\endgroup$
    – calben
    Commented Jan 17, 2014 at 19:52
  • $\begingroup$ Does the same thing happen if you use a portable archive from blender.org? $\endgroup$
    – gandalf3
    Commented Jan 17, 2014 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
    Commented Jan 17, 2014 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
    Commented Jan 18, 2014 at 4:10

1 Answer 1

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$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .