Zipline Error: AttributeError: 'NoneType' object has no attribute 'fetch_csv'
<p>I just installed Zipline on Windows 10, Python 2.7 system using <code>conda</code>. When I <a href="http://www.zipline.io/appendix.html?highlight=fetch_csv#zipline.api.fetch_csv" rel="nofollow">tried to use a function <code>fetch_csv</code> from <code>zipline.api</code></a>, I get an error</p>

<pre><code>AttributeError: 'NoneType' object has no attribute 'fetch_csv'
</code></pre>

<p>Why can't I load the function <code>fetch_csv</code>?</p>

<pre><code>from zipline.api import fetch_csv

fetch_csv('./test.csv')
</code></pre>

<p>The <a href="http://www.zipline.io/appendix.html?highlight=fetch_csv#zipline.api.fetch_csv" rel="nofollow">Zipline API reference</a> says that this methods is to "Fetch a csv from a remote url". For local files, I would suggest <a href="http://pandas.pydata.org/pandas-docs/stable/generated/pandas.read_csv.html" rel="nofollow">pandas</a>:</p>

<pre><code>pandas.read_csv('./test.csv')
</code></pre>

python python-2.7 zipline