Conda is an easy to use and maintain software package management system. It provides a simple and painless method for installing OCW and its dependencies across a variety of platforms.
In addition to the standard scientific python packages bundled with most anaconda installations, the following packages will be installed:
To install OCW and its dependencies into your conda environment (by default in ~/anaconda or ~/miniconda), you may use:
conda install -c conda-forge ocw
Next, we will download RCMES where the examples for the tutorials can be found. Download a zip file (link) and unzip the file (RCMES_(VERSION #)-master.zip) that you downloaded. You can change the folder name and move it to a different location. For example,
mv RCMES_1.2-master ~/RCMES
Now that OCW is installed, you can run a test example to make sure everything is installed properly.
Head over to the examples folder. This assumes you are in the main RCMES folder.
cd test
Next, run one of the examples in the folder.
python test.py
After the evaluation runs, you should find a .png in the examples directory. The image can be seen below. Congratulations, your installation was successful! You are now ready to move on to the RCMES Tutorials, which can be found here.
If you need to update OCW, simply use:
conda update -c conda-forge ocw