If you get an error while uploading or installing a theme, please check the error message first.
Usually these errors are related to the PHP configuration of your hosting. The theme/plug-in manufacturer specifies values such as "memory limit" for the plug-in/theme to be uploaded without problems.
The PHP configuration can be found in the overview of the Control Panel under "Websites" - "Web settings".