mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-24 13:00:57 +08:00
WIP: Install page
This commit is contained in:
+9
-10
@@ -374,6 +374,11 @@ your particular platform), you should be able to simply run</p>
|
||||
that you install in a <a class="reference external" href="https://virtualenv.readthedocs.org/en/latest">virtualenv</a>. The <a class="reference external" href="http://docs.python-guide.org/en/latest/">Hitchhiker’s Guide to
|
||||
Python</a> provides an <a class="reference external" href="http://docs.python-guide.org/en/latest/dev/virtualenvs/">excellent tutorial on virtualenv</a>. Here’s a summarized
|
||||
version:</p>
|
||||
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>virtualenv catalyst-venv
|
||||
<span class="nv">$ </span><span class="nb">source</span> ./catalyst-venv/bin/activate
|
||||
<span class="nv">$ </span>pip install enigma-catalyst
|
||||
</pre></div>
|
||||
</div>
|
||||
<div class="section" id="gnu-linux">
|
||||
<h3>GNU/Linux<a class="headerlink" href="#gnu-linux" title="Permalink to this headline">¶</a></h3>
|
||||
<p>On <a class="reference external" href="https://www.debian.org/misc/children-distros">Debian-derived</a> Linux distributions, you can acquire all the necessary
|
||||
@@ -391,12 +396,6 @@ dependencies:</p>
|
||||
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>pacman -S lapack gcc gcc-fortran pkg-config
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>There are also AUR packages available for installing <a class="reference external" href="https://aur.archlinux.org/packages/python34/">Python 3.4</a> (Arch’s default python is now
|
||||
3.5, but Zipline only currently supports 3.4), and <a class="reference external" href="https://aur.archlinux.org/packages/ta-lib/">ta-lib</a>, an optional Zipline dependency.
|
||||
Python 2 is also installable via:</p>
|
||||
<div class="highlight-bash"><div class="highlight"><pre><span class="nv">$ </span>pacman -S python2
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="osx">
|
||||
<h3>OSX<a class="headerlink" href="#osx" title="Permalink to this headline">¶</a></h3>
|
||||
@@ -420,16 +419,16 @@ following brew packages:</p>
|
||||
</div>
|
||||
<div class="section" id="installing-with-conda">
|
||||
<span id="conda"></span><h2>Installing with <code class="docutils literal"><span class="pre">conda</span></code><a class="headerlink" href="#installing-with-conda" title="Permalink to this headline">¶</a></h2>
|
||||
<p>Another way to install Zipline is via the <code class="docutils literal"><span class="pre">conda</span></code> package manager, which
|
||||
<p>Another way to install Catalyst is via the <code class="docutils literal"><span class="pre">conda</span></code> package manager, which
|
||||
comes as part of Continuum Analytics’ <a class="reference external" href="http://continuum.io/downloads">Anaconda</a> distribution.</p>
|
||||
<p>The primary advantage of using Conda over <code class="docutils literal"><span class="pre">pip</span></code> is that conda natively
|
||||
understands the complex binary dependencies of packages like <code class="docutils literal"><span class="pre">numpy</span></code> and
|
||||
<code class="docutils literal"><span class="pre">scipy</span></code>. This means that <code class="docutils literal"><span class="pre">conda</span></code> can install Zipline and its dependencies
|
||||
without requiring the use of a second tool to acquire Zipline’s non-Python
|
||||
<code class="docutils literal"><span class="pre">scipy</span></code>. This means that <code class="docutils literal"><span class="pre">conda</span></code> can install Catalyst and its dependencies
|
||||
without requiring the use of a second tool to acquire Catalyst’s non-Python
|
||||
dependencies.</p>
|
||||
<p>For instructions on how to install <code class="docutils literal"><span class="pre">conda</span></code>, see the <a class="reference external" href="http://conda.pydata.org/docs/download.html">Conda Installation
|
||||
Documentation</a></p>
|
||||
<p>Once conda has been set up you can install Zipline from our <code class="docutils literal"><span class="pre">Quantopian</span></code>
|
||||
<p>Once conda has been set up you can install Catalyst from our <code class="docutils literal"><span class="pre">Quantopian</span></code>
|
||||
channel:</p>
|
||||
<div class="highlight-bash"><div class="highlight"><pre>conda install -c Quantopian zipline
|
||||
</pre></div>
|
||||
|
||||
Reference in New Issue
Block a user