PDF rendering in Pollen tutorial

I am working through the Pollen tutorial and hit this snag. Any help fixing this would be appreciated!

Exception

The application raised an exception with the message:

pdflatex: rendering error

Stack trace:

body of 'g4599 at:
  <unknown location>
render-markup-or-markdown-source at:
  line 411, column 0, in file /Users/myaccount/Library/Racket/8.6/pkgs/pollen/pollen/render.rkt
render at:
  line 337, column 25, in file /Users/myaccount/Library/Racket/8.6/pkgs/pollen/pollen/render.rkt
generate-dest-file at:
  line 124, column 2, in file /Users/myaccount/Library/Racket/8.6/pkgs/pollen/pollen/private/cache-utils.rkt
fetch-and-continue at:
  line 63, column 2, in file /Applications/Racket/collects/file/cache.rkt
<unknown procedure> at:
  line 555, column 3, in file /Applications/Racket/collects/racket/contract/private/arrow-val-first.rkt
cache-ref! at:
  line 114, column 0, in file /Users/myaccount/Library/Racket/8.6/pkgs/pollen/pollen/private/cache-utils.rkt
hash-ref! at:
  line 377, column 2, in file /Applications/Racket/collects/racket/private/more-scheme.rkt
render-to-file-base at:
  line 277, column 0, in file /Users/myaccount/Library/Racket/8.6/pkgs/pollen/pollen/render.rkt
<unknown procedure> at:
  line 486, column 18, in file /Applications/Racket/collects/racket/contract/private/arrow-val-first.rkt
route-default at:
  line 292, column 0, in file /Users/myaccount/Library/Racket/8.6/pkgs/pollen/pollen/private/project-server-routes.rkt
<unknown procedure> at:
  line 375, column 33, in file /Applications/Racket/collects/racket/contract/private/arrow-higher-order.rkt
<unknown procedure> at:
  line 375, column 33, in file /Applications/Racket/collects/racket/contract/private/arrow-higher-order.rkt
<unknown procedure> at:
  line 63, column 2, in file /Applications/Racket/share/pkgs/web-server-lib/web-server/dispatchers/dispatch-servlets.rkt
<unknown procedure> at:
  line 141, column 2, in file /Applications/Racket/share/pkgs/web-server-lib/web-server/private/dispatch-server-with-connect-unit.rkt

Can you post the output that pdflatex gave as well?

Where would I find that? Would it be in the Terminal window?

Yes, it should show up there.

Found it, seems like it can’t find pdflatex. I downloaded and installed MacTex.
But

% which pdflatex
pdflatex not found

And

pollen: rendering /Tutorial/cv.poly.pm as pdf
/bin/sh: pdflatex: command not found
Servlet (@ /Tutorial/cv.pdf) exception:
pdflatex: rendering error

  context...:
   body of 'g4941
   /Users/mycomputer/Library/Racket/8.6/pkgs/pollen/pollen/render.rkt:411:0: render-markup-or-markdown-source
   /Users/mycomputer/Library/Racket/8.6/pkgs/pollen/pollen/render.rkt:337:25: render
   /Users/mycomputer/Library/Racket/8.6/pkgs/pollen/pollen/private/cache-utils.rkt:124:2: generate-dest-file
   /Applications/Racket/collects/file/cache.rkt:63:2: fetch-and-continue
   /Applications/Racket/collects/racket/contract/private/arrow-val-first.rkt:555:3
   /Users/mycomputer/Library/Racket/8.6/pkgs/pollen/pollen/private/cache-utils.rkt:114:0: cache-ref!
   /Applications/Racket/collects/racket/private/more-scheme.rkt:377:2: hash-ref!
   /Users/mycomputer/Library/Racket/8.6/pkgs/pollen/pollen/render.rkt:277:0: render-to-file-base
   /Applications/Racket/collects/racket/contract/private/arrow-val-first.rkt:486:18
   /Users/mycomputer/Library/Racket/8.6/pkgs/pollen/pollen/private/project-server-routes.rkt:292:0: route-default
   /Applications/Racket/collects/racket/contract/private/arrow-higher-order.rkt:375:33
   [repeats 1 more time]
   /Applications/Racket/share/pkgs/web-server-lib/web-server/dispatchers/dispatch-servlets.rkt:63:2
   /Applications/Racket/share/pkgs/web-server-lib/web-server/private/dispatch-server-with-connect-unit.rkt:141:2

Ah I restarted Terminal and now it works!

Thanks for your help!