The very same thing has happened to me the very first time I attempted to open Lightroom after download and installation. It appears this has been an issue for several years. I sure hope they answer you.
I am having the same problem. How did you resolve?
Please refer Troubleshooting guide for errors that can occur when you change modules in Lightroom and follow the steps.
You may also refer similar Thread Lightroom: "An error occurred when attempting to change modules."