UAV Toolbox Support Package for PX4 Autopilots Install Failed

조회 수: 3 (최근 30일)
Jae Won Han
Jae Won Han 2022년 9월 8일
댓글: 수한 김 2023년 5월 15일
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
Jae Won Han
Jae Won Han 2022년 9월 12일
I attached the log file as the answer.
수한 김
수한 김 2023년 5월 15일
어떻게 해결하셨어요??

댓글을 달려면 로그인하십시오.

채택된 답변

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.

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by