Installation¶
numbakit-ode depends on Numpy, Scipy and Numba. In runs on Python 3.7+.
While you can install these dependencies with pip, the suggested way is to use Anaconda CE, a free Python distribution by Continuum Analytics that includes many scientific packages. The pip equivalent in anaconda is conda:
$ conda install numpy scipy numba
Then you can install it (or upgrade to the latest version) using pip:
$ pip install -U nbkode
or with conda, with the conda-forge channel (soon):
$ conda install -c conda-forge numbakit-ode
and then simply enjoy it!
That’s all! You can check that numbakit-ode is correctly installed by starting up python, and importing nbkode:
>>> import nbkode
>>> nbkode.__version__
Or running the test suite:
>>> nbkode.test()
Getting the code¶
You can also get the code from PyPI or GitHub. You can either clone the public repository:
$ git clone git://github.com/hgrecco/nbkode.git
Download the tarball:
$ curl -OL https://github.com/hgrecco/nbkode/tarball/master
Or, download the zipball:
$ curl -OL https://github.com/hgrecco/nbkode/zipball/master
Once you have a copy of the source, you can embed it in your Python package, or install it into your site-packages easily:
$ python setup.py install