Thanks for the reply!
I did a source install, but I get an error when I try to import DPRQuestionEncoder.

from transformers import DPRQuestionEncoder, DPRQuestionEncoderTokenizer

ImportError: cannot import name ‘DPRQuestionEncoder’
I had updated PYTHONPATH to include the path to the transformers code, but that didn’t help.