Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #61569

Re: Figuring out what dependencies are needed

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'from:addr:yahoo.co.uk': 0.04; 'error:': 0.07; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'setup.py': 0.09; 'python': 0.11; 'assume': 0.14; 'language.': 0.14; 'dma': 0.16; 'folder,': 0.16; 'folder.': 0.16; 'ignoring': 0.16; 'last)': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'stats': 0.16; 'subject:dependencies': 0.16; 'folder': 0.16; 'language': 0.16; 'wrote:': 0.18; 'library': 0.18; 'work,': 0.20; 'header:User-Agent:1': 0.23; "aren't": 0.24; "i've": 0.25; 'script': 0.25; 'downloaded': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; "i'm": 0.30; 'included': 0.31; 'usually': 0.31; 'libraries': 0.31; 'subject:what': 0.31; 'file': 0.32; 'this.': 0.32; 'probably': 0.32; 'url:python': 0.33; 'running': 0.33; '(most': 0.33; 'mac': 0.33; "i'd": 0.34; 'test': 0.35; 'but': 0.35; 'thanks': 0.36; "i'll": 0.36; 'url:org': 0.36; 'should': 0.36; 'others.': 0.38; 'subject:needed': 0.38; 'to:addr :python-list': 0.38; 'recent': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'our': 0.64; 'results': 0.69; 'receive': 0.70; 'received:2': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Figuring out what dependencies are needed
Date Wed, 11 Dec 2013 13:25:50 +0000
References <e84a7ca4-5aa5-4c86-bf36-daa768d92aea@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-2-98-195-123.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
In-Reply-To <e84a7ca4-5aa5-4c86-bf36-daa768d92aea@googlegroups.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3898.1386768605.18130.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1386768605 news.xs4all.nl 2943 [2001:888:2000:d::a6]:59760
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:61569

Show key headers only | View raw


On 11/12/2013 12:44, sal@nearlocal.com wrote:
> I'm a Python beginner.  I want to use it for stats work, so I downloaded Anaconda which has several of the popular libraries already packaged for Mac OS X.
>
> Now I'd like to use the backtesting package from zipline (zipline.io), but while running the test script in iPython, I receive the following error:
>
> AssertionError                            Traceback (most recent call last)
> <ipython-input-6-f921351f78e2> in <module>()
> ----> 1 data = load_from_yahoo()
>        2 dma = DualMovingAverage()
>        3 results = dma.run(data)
>
> 1)  I assume that I'm missing some packages that aren't included in Anaconda, but how do I know which ones to upload?
>
> 2)  Often I'll just unzip a library file and put the main folder in the iPython folder, but I notice there's usually a setup.py file in the main library folder.  I've been ignoring this.  Should I be using it?
>
> Thanks
>

https://pypi.python.org/pypi/z3c.dependencychecker and probably others.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Figuring out what dependencies are needed sal@nearlocal.com - 2013-12-11 04:44 -0800
  Re: Figuring out what dependencies are needed Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-12-11 13:27 +0000
    Re: Figuring out what dependencies are needed Robert Kern <robert.kern@gmail.com> - 2013-12-11 13:38 +0000
    Re: Figuring out what dependencies are needed Ian Kelly <ian.g.kelly@gmail.com> - 2013-12-11 13:21 -0700
  Re: Figuring out what dependencies are needed Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-12-11 13:25 +0000
  Re: Figuring out what dependencies are needed alex23 <wuwei23@gmail.com> - 2013-12-12 15:48 +1000
    Re: Figuring out what dependencies are needed sal i <sal@nearlocal.com> - 2013-12-11 22:53 -0800
      Re: Figuring out what dependencies are needed alex23 <wuwei23@gmail.com> - 2013-12-17 13:30 +1000

csiph-web