Installing nanocontact on Windows
Installing on Windows from scratch
(I have not tried this whole process. The only Windows install I've done was on a machine I was already using for development.)
- Download and install Python 2.6. I recommend the ActivePython distribution.
- Install a C compiler. This should be the same compiler Python is built with, namely Microsoft Visual Studio 2008 (version 9.0) for the above version.
- Install the following Python third-party libraries (see below):
- numpy: this is a widespread numerical math library for Python. In addition to the math utilities, numpy includes the tools to package and link Fortran extensions like we use.
- scipy: this provides additional numerical math tools
- matplotlib: this provides plotting capabilities
- Mecheye Fusion: this provides movie capabilities
- Download the source code for nanocontact using the download links on this site or using Mercurial.
- From the outermost directory in nanocontact, run "python setup.py install"
Third party libraries
- Most third party libraries can be installed using http://pypi.python.org/pypi/pip automatically.
- Get pip by running "easy_install pip" at the command line
- There are also normal Windows installers for many which might work well for numpy, scipy, and matplotlib.
- You may need a bleeding-edge version of Mecheye Fusion. You can download a zip from http://github.com/magcius/mecheye-fusion, unpack it, and install it using "python setup.py install" like you did for nanocontact