iPython Notebooks showing off NumPy, matplotlib, and our universe
The short version: make sure you have all of the appropriate dependencies installed and then run the appropriate setup script for your platform.
- Install/build the required dependencies. Most dependencies other than Python and virtualenv are automatically installed via the setup script.
- Clone or fork this repo.
- Run setup.sh to create a new virtualenv, install any missing dependencies, and download required data sets.
Well tested instructions for Xubuntu 12.10 are in INSTALL-xubuntu-12.10.
- Install the required dependencies. See below for details.
- Clone or fork this repo.
- Run setup.bat to create a new virtualenv, install any missing dependencies, and download required data sets.
Windows Dependencies (the simple way)
The easiest way to get all of the dependencies in Windows is to use a special Python distribution meant for scientific computing. Pick one of the following options:
- Install Anaconda.
- Or, install Python(x,y). You can reduce the disk space required by only selecting the dependencies listed below (and any components required by those dependencies). Mayavi is included as part of the 'ETS' component. If you already have Python 2.7 installed, Python(x,y) may clobber your existing installation.
- Or, install EPD. The free version of EPD does not include Mayavi, but it does contain the tools required to build it from source. If you don't want 3D visualizations, you don't need Mayavi.
Windows Dependencies (the harder way)
- Install Python 2.7 and virtualenv. You may also want to install setuptools or distribute.
- Download and install binaries for wxPython, iPython, numpy, scipy, matplotlib.
- Use pip to install tornado, pyzmq, jinja2, sympy, pyephem, jplephem, de405, sgp4.
- (optional) If you're using regular Python, rather than EPD, you'll need to install or build VTK. Python(x,y) bundles an installer which is listed on the standard plugins page. If you want to try building VTK from source, you'll also need CMake, a compiler such as MinGW or Visual Studio, and a very large bottle of whiskey.
- Build Mayavi from source. You could also try installing the ETS package from the Python(x,y) standard plugins.
- Python (obviously), virtualenv
- ipython, tornado, pyzmq, jinja2
- sympy (only required for the 'iPython Features' notebook)
- numpy, scipy, matplotlib
- VTK (must be compiled from source to include python support)
- mayavi (may need to be compiled from source?)
- pyephem, jplephem, de405, sgp4, python-skyfield
- Large data sets required by these packages are downloaded automatically by the setup script
for 'An-Introduction--Pandas' notebook