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
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
Further navigate to either the python2 or python3 directories.
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:
One month ago i found discussed method independently, but I opened console as admin and did not use option --user in the pip command line, so packages were installed locally in the lib/site-packages directory: