[yt-users] Issue with "yt serve command"

k.grisdale at surrey.ac.uk k.grisdale at surrey.ac.uk
Thu Sep 5 06:40:26 PDT 2013


Hi, 

I am a new user to both python and yt. I have installed yt on a MacBook Pro running os x 10.8.4.

I installed yt by following the steps on yt-project.org. The install went without displaying any errors. When the install completed it gave me several instructions, first the source command and then to use the "yt serve" command. 

However when I type in the "yt serve" command after the source command I get the message below in the terminal and nothing else happens. 

I have installed python separately using home-brew and the command "$ brew install python --framework"

I am using the  b118390aa42c version of yt.

Can anyone suggest how I can get yt serve to work.

Thanks

Kearn


Traceback (most recent call last):
  File "/Applications/Code/yt/yt-x86_64/bin/yt", line 9, in <module>
    load_entry_point('yt==2.5.5', 'console_scripts', 'yt')()
  File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 1696, in run_main
    args.func(args)
  File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 94, in run
    self(args)
  File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/utilities/command_line.py", line 1561, in __call__
    hr = ExtDirectREPL(reasonjs_path, use_pyro=args.use_pyro)
  File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/gui/reason/extdirect_repl.py", line 249, in __init__
    reason_pylab()
  File "/Applications/Code/yt/yt-x86_64/src/yt-hg/yt/gui/reason/extdirect_repl.py", line 193, in reason_pylab
    import pylab, matplotlib
  File "/Applications/Code/yt/yt-x86_64/lib/python2.7/site-packages/matplotlib-1.3.0-py2.7-macosx-10.4-x86_64.egg/pylab.py", line 1, in <module>
    from matplotlib.pylab import *
  File "/Applications/Code/yt/yt-x86_64/lib/python2.7/site-packages/matplotlib-1.3.0-py2.7-macosx-10.4-x86_64.egg/matplotlib/pylab.py", line 269, in <module>
    from matplotlib.pyplot import *
  File "/Applications/Code/yt/yt-x86_64/lib/python2.7/site-packages/matplotlib-1.3.0-py2.7-macosx-10.4-x86_64.egg/matplotlib/pyplot.py", line 98, in <module>
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "/Applications/Code/yt/yt-x86_64/lib/python2.7/site-packages/matplotlib-1.3.0-py2.7-macosx-10.4-x86_64.egg/matplotlib/backends/__init__.py", line 25, in pylab_setup
    globals(),locals(),[backend_name])
  File "/Applications/Code/yt/yt-x86_64/lib/python2.7/site-packages/matplotlib-1.3.0-py2.7-macosx-10.4-x86_64.egg/matplotlib/backends/backend_macosx.py", line 21, in <module>
    from matplotlib.backends import _macosx
RuntimeError: Python is not installed as a framework. The Mac OS X backend will not be able to function correctly if Python is not installed as a framework. See the Python documentation for more information on installing Python as a framework on Mac OS X. Please either reinstall Python as a framework, or try one of the other backends.



More information about the yt-users mailing list