UAV Toolbox Support Package for PX4 Autopilots Install Failed

110 次查看(过去 30 天)
When I tried to install UAV Toolbox Support Package for PX4 Autopilots, I've got this Install Error message : Failed to install the third-party software : Python v2.7.15
and I typed cd(tempdir) on the matlab command windows, I checked the log message below.
But I can't find the way how to solve this install error.
Please help me!
(9월 08, 2022 17:22:49) Install Error: Failed to install the third-party software: Python v2.7.15
This is required by:UAV Toolbox Support Package for PX4 Autopilots
To resolve this issue, see this MATLAB Answer.
at com.mathworks.supportsoftwareinstaller.api.InstallAPI.handle3pInstallException(InstallAPI.java:488)
at com.mathworks.supportsoftwareinstaller.api.InstallAPI.install3pToFolder(InstallAPI.java:424)
at com.mathworks.supportsoftwareinstaller.api.InstallAPI.installSPWithOverrides(InstallAPI.java:203)
at com.mathworks.supportsoftwareinstaller.servicebridge_impl.SSIDownloadAndInstallServiceBridgeImpl.installSupportPackageFromFolder(SSIDownloadAndInstallServiceBridgeImpl.java:156)
at com.mathworks.supportsoftwareinstaller.servicebridge_impl.SSIDownloadAndInstallServiceBridgeImpl.downloadAndInstallSupportPackage(SSIDownloadAndInstallServiceBridgeImpl.java:142)
at com.mathworks.supportsoftwareinstaller.servicebridge_impl.SSIDownloadAndInstallServiceBridgeImpl.downloadAndInstallSPEntryPointWithOverrides(SSIDownloadAndInstallServiceBridgeImpl.java:89)
at com.mathworks.supportsoftwareinstaller.servicebridge_impl.SSIDownloadAndInstallServiceBridgeImpl.startDownloadAndInstall(SSIDownloadAndInstallServiceBridgeImpl.java:46)
at com.mathworks.supportsoftwareinstaller.services.DownloadAndInstallService.downloadAndInstallSPEntryPoint(DownloadAndInstallService.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:24)
at com.mathworks.installservicehandler.JsonPassThroughResponseWrapper.getData(JsonPassThroughResponseWrapper.java:10)
at com.mathworks.connector.cosg.impl.CosgServiceProvider.deliver(CosgServiceProvider.java:76)
at com.mathworks.connector.impl.ConnectorImpl.handle(ConnectorImpl.java:64)
at com.mathworks.connector.impl.ContextImpl.handle(ContextImpl.java:182)
at com.mathworks.connector.native_bridge.impl.NativeBridgeImpl.handle(NativeBridgeImpl.java:25)
at com.mathworks.connector.native_bridge.NativeBridge.fromNative(NativeBridge.java:23)
Caused by: java.lang.Exception: 3P Install: 3p/python27.instrset_win64: Python v2.7.15 returned non-passing exit code: 2. Expected one of the following: 0
at com.mathworks.supportsoftwareinstaller.api.InstallAPI.handle3pInstallException(InstallAPI.java:485)
... 18 more
(9월 08, 2022 17:22:49) SSI downloadAndInstallSP Response: {"exception": {"cause":"3P Install: 3p/python27.instrset_win64: Python v2.7.15 returned non-passing exit code: 2. Expected one of the following: 0","title":"Install Error","message":"Failed to install the third-party software: Python v2.7.15
This is required by:UAV Toolbox Support Package for PX4 Autopilots
To resolve this issue, see this MATLAB Answer.","type":"ERROR"}}
  3 个评论

请先登录,再进行评论。

采纳的回答

Ankur Bose
Ankur Bose 2022-9-15
The error syndrome mentioned in the log looks similar to what has been mentioned here. I would recommend you to upgrade your MATLAB to recently released R2022b where we are using Python 3 for upload and you should not face this issue. That would be the simplest solution. Fixing this issue in R2022a would require lot more debugging and time.

更多回答(1 个)

Jae Won Han
Jae Won Han 2022-9-12
This is my log file.

类别

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

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by