Adding NumPy and other extra Python modules to Trelis

I wanted to give an update to these instructions, as it appears there may have been some restructuring that’s occurred within the pip module. Below are instructions for Windows machines, easily translatable to Linux or Mac operating systems.

Guide

  1. Open a command prompt (or the new Windows Terminal) and navigate to the Trelis bin directory. This is probably:

    • cd C:\Program Files\Trelis 17.1\bin
  2. Further navigate to either the python2 or python3 directories.

  3. Execute .\python -m pip install <module> --user from the command line, for example to install numpy execute:

    • .\python.exe -m pip install numpy --user

Here are those commands all together in a terminal: