Why do I get "There was an error downloading product files" with "Failed to download .enc, retry # 1" when installing MATLAB R2021b or later?

6 909 views (last 30 days)
Why do I get "There was an error downloading product files" with "Failed to download .enc, retry # 1" when installing MATLAB R2021b or later? For example:
Windows
Failed to download C:\Users\%USERNAME%\AppData\Local\Temp\a4a0-05cc-315d-7c88\3p\apriltag_win64_1621049007.enc, retry # 1
Linux
Failed to download /tmp/76f9-13ff-a1d9-d599/3p/hdfeos2_glnxa64_1652478071.enc, retry # 1
Mac
Failed to download /var/folders/6x/5ph4629x1pqcdk5b671f3n8w0000gn/T/5233-50d0-0a0b-efb8/fixedpointcore_resources_common_1668903353.enc, retry # 1

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Aug 2023
Edited: MathWorks Support Team on 25 May 2023
This issue could be caused by few different things:
  • Antivirus Software
  • VPN/Proxy Servers
  • Firewalls
  • Poor Network Connectivity
  • Previously Failed Installations

Antivirus Software, VPN/Proxy Servers, and Firewalls

This error can result from connection issues related to your antivirus software, or the use of a VPN server, proxy server, or firewall. To resolve such issues, see this article:

Poor Network Connectivity

This issue can occur when attempting to install MATLAB with a poor network connection. When the installer attempts to download files, a failure to download a file successfully shows as a "retry #" attempt. The installer makes several attempts to redownload each failed file, but if it is still unsuccessful, it displays an error.
To resolve this issue, check that your computer has a reliable Internet connection or switch to a more reliable network. If the installer is still unable to successfully connect, perform an offline installation. See this article:

Previously Failed Installations

If previous attempts to install MATLAB were unsuccessful, check that the folder you are trying to reinstall to is empty. installing to an empty folder allows for a full reinstallation of MATLAB and all its toolboxes. This process deletes any of these products currently installed.
  1 Comment
Dana
Dana on 23 Sep 2022
Same problem. No issue with my internet connection at all for anything else. This is clearly an issue requiring a fix on Matlab's end.

Sign in to comment.

More Answers (2)

Keerti
Keerti on 13 May 2023
There was an error while extracting product files. try rerunning the installer

jh
jh on 16 May 2023
Guys I found a way.
During the additional toolbox installation choice page, do not tick the others just keep default choice (ie. install matlab), Then the installation should be success.
If you need the rest toolbox, install it manually afterwards.
  1 Comment
jh
jh on 17 May 2023
Refer to the Link Below If you want to install the additional toolboxes.
https://www.mathworks.com/matlabcentral/answers/101885-how-do-i-install-additional-toolboxes-into-an-existing-installation-of-matlab

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!