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,087 次查看(过去 30 天)
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

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2023-5-25
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.

更多回答(2 个)

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

jh
jh 2023-5-16
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 个评论
jh
jh 2023-5-17
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by