Filter löschen
Filter löschen

UAV Toolbox Support Package for PX4 Autopilots Install Failed

1 Ansicht (letzte 30 Tage)
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 Kommentare
Jae Won Han
Jae Won Han am 12 Sep. 2022
I attached the log file as the answer.
수한 김
수한 김 am 15 Mai 2023
어떻게 해결하셨어요??

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Ankur Bose
Ankur Bose am 15 Sep. 2022
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.

Weitere Antworten (1)

Jae Won Han
Jae Won Han am 12 Sep. 2022
This is my log file.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by