Installation¶
Note that RSMTool has only been tested with Python 3.6 and higher.
Installing with conda¶
Currently, the recommended way to install RSMTool is by using the conda
package manager. If you have already installed conda
, you can skip straight to Step 2.
To install
conda
, follow the instructions on this page.Create a new conda environment (say,
rsmtool
) and install the RSMTool conda package by running:conda create -n rsmtool -c defaults -c conda-forge -c desilinguist python=3.6 rsmtool
Activate this conda environment by running
source activate rsmtool
(activate rsmtool
on windows). You should now have all of the RSMTool command-line utilities in your path.From now on, you will need to activate this conda environment whenever you want to use RSMTool. This will ensure that the packages required by RSMTool will not affect other projects.
RSMTool can also be downloaded directly from GitHub.
Installing with pip¶
You can also use pip
to install RSMTool instead of conda
. To do so, simply run:
pip install rsmtool
Note that if you are on macOS, you will need to have the following line in your .bashrc
for RSMTool to work properly:
export MPLBACKEND=Agg
Note
Currently the statsmodels PyPI package seems to be broken on Windows, so pip installation on Windows may not work. If you are using Windows, use conda to install RSMTool by following the instructions above.