How to cut threads on 2" PVC pipe?
I see no reason why you should cut threads on a PVC pipe. It seems to me that this would be unnecessarily difficult and would weaken the pipe.
You should, instead, get a slip to thread adapter and glue it onto the pipe to thread it wherever you like. Any big-box hardware store or irrigation department should be able to provide this adapter.
Edit:
Here is a link to such an adapter for $1.56at big orange hardware store. :
https://www.homedepot.com/p/Charlotte-Pipe-2-in-PVC-Sch-40-MPT-x-S-Male-Adapter-PVC-02109-1600HD/203825431