While trying to open .jpeg file, it popup the error alert package could not be registered.
The error occurs with every image, while few others report certain files only trigger this issue.
This should fix if temporary glitch causing the issue.
Install latest Windows updates that probably have the bug fix for this problem.
That probably helps fix different problems with the photos app on windows 10.
Uninstall & Reinstall the Photos app
Still, need help?
give a shot to reinstall the Microsoft photos app following the steps below.
Alternately fire up the Microsoft app store to download and implement the Microsoft photos app on your box.