Is there any way I can set up the PYTHONPATH or other environment
variables so that this would work in the compute node?

Try using your galaxy_user's ~/.sge_request file. See 

http://wiki.g2.bx.psu.edu/Admin/Config/Tool%20Dependencies

for more information.

Good luck,
J.