Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.37 KB

installing_yt.rst

File metadata and controls

41 lines (25 loc) · 1.37 KB

Installing YT

YT version 0.4 requires Julia version 0.5 or later, and may be installed just like any other Julia package:

julia> Pkg.add("YT")

This will also install the following dependencies, if you don't have them installed already:

However, for YT to work, yt itself must be installed. YT version 0.4 requires yt version 3.3.1 or higher. The best ways to install yt are via pip or the Anaconda Python Distribution.

Once YT is installed, either

julia> import YT

to use it as a library, or

julia> using YT

to use it as an application, loading its methods into the current session's namespace.

While not required, the following Julia packages are useful when working with data in YT:

  • Winston (a plotting package)
  • IJulia (Julia backend for IPython/Jupyter)
  • Glob (find pathnames matching specified patterns, useful for constructing arrays of filenames)