There are many factors that can cause this to happen. An unstable or bad internet connection could be one of the factors. Can you please make sure you don't have this problem.
In the meanwhile, can you please go to your temp folder by typing %temp% in a folder address bar and delete the contents. Please make sure you are doing this correctly. Be aware that doing this incorrectly could cause more problems.
Please see screenshot below.
Once you think the files here are deleted, restart your PC and try again. You may not be able to delete some files here. Simply ignore those and delete as many as possible.
If the issue persists, please let us know.