Known python issues on MacOS

ISSUE
MacOS has python2 already installed, but not python3, so when we introduced the python3 option in Trelis 17.0, users started getting errors that they weren’t getting with Trelis 16.5, such as:

“Trelis-17.0.app/Contents/MacOS/Trelis-17.0 -nographic
ERROR: Unable to initialize Python interpreter!”

With the release of 17.1, we have fixed some python issues, but MacOS users will still have trouble using python3 in Trelis, unless they manually install python 3.8. This should only be an issue when using python3. python2 should work as expected.

FIX
Please install python3 in the CLI using homebrew (instructions for downloading homebrew at https://brew.sh/).
Make sure you have python version 3.8 installed.

RESULT
In the GUI: You should then be able to switch to python version 3 in Preferences > General in Trelis, close out or Trelis, then start it up again and python3 will be working with Trelis.
In the CLI: You should be able to run “Trelis-17.1.app/Contents/MacOS/Trelis-17.1 -pythonversion 3 -nographics” without errors

1 Like