I saw several messages on this list regarding an error using the demo in the manual regarding "Python module failed". Other than checking that Python is installed before R and in the path, the error might be due to the python3=FALSE default in undergrad(), so using a <3.0 Python for the demo might help (and then if you want to use Python >= 3.0, just use python3=TRUE in the undergrad() function).
Dan Wright