Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I didn't find any instructions anywhere online for this, but it's relatively straightforward.</p> <p>About my platform/tools I used:</p> <ul> <li>Mac OSX (Mountain Lion)</li> <li>Python 2.7.3</li> <li><a href="http://mxcl.github.com/homebrew/" rel="nofollow">homebrew</a></li> <li><a href="http://pypi.python.org/pypi/pip" rel="nofollow">pip</a></li> <li>It looks like you might need to install Cython, not sure as I already had it installed. You can do this with <code>pip install Cython</code>.</li> </ul> <p>First, <code>brew install llvm</code>.</p> <p>Here are the packages you need. You can <code>pip</code> all of them:</p> <ul> <li><code>llvmpy</code></li> <li><code>numba</code></li> <li><code>meta</code></li> <li><code>ply</code></li> <li><code>blosc</code></li> <li><code>sphinx</code> -- for doc</li> <li><code>aterm</code></li> </ul> <p>Once you've pipped everything, </p> <ul> <li><code>cd /tmp</code> up to you, of course...</li> <li><code>sudo git clone git@github.com:ContinuumIO/blaze-core.git</code></li> <li><code>cd /tmp/blaze-core</code></li> <li><code>sudo make build</code></li> <li><code>sudo make docs</code></li> <li><code>sudo python setup.py install</code> (Whether you need sudo depends on where you git things to, of course.)</li> </ul> <p>I've had trouble running the tests, it looks like there's an error in an <code>__init__.py</code> file somewhere, but I can't be for sure. I can't get the unit tests to run, so take "successful installation" with a grain of salt. At any rate, I can do a spot check to see that the module imports correctly:</p> <pre><code>&gt;&gt;&gt; import blaze &gt;&gt;&gt; from blaze import Array, dshape &gt;&gt;&gt; ds=dshape('2,2,int') &gt;&gt;&gt; a = Array([1,2,3,4],ds) &gt;&gt;&gt; a Array datashape := 2, 2, int values := [CArray(ptr=140454075688080)] metadata := [manifest, arraylike] layout := Chunked(dim=0) [1 2 3 4] </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload