Installing Zephyr Developer error, could not spawn command 7z

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Installing Zephyr Developer error, could not spawn command 7z

558 次查看
geoffreyzeiss
Contributor IV

Hi,

I'm attempting to install Zephyr Developer via MCUXpresso Installer. I'm getting two errors.

[error] Could not spawn command 7z
[error] Command 7z exited with code spawn 7z ENOENT.

I have 7z installed, version 24.09. So it's not clear to me at the moment what my issue is. Any insight might be helpful. Thank you.

 

 

[info] 7-Zip already installed. Version: 24.09
[info] Checking hash for file C:\Users\gzeiss\AppData\Local\Programs\MCUXpressoInstaller\.cache\zephyr-sdk-0.17.0_windows-x86_64_minimal.7z...
[info] Installing Zephyr SDK
[info] Extracting zephyr-sdk-0.17.0_windows-x86_64_minimal.7z to C:\Users\gzeiss
[info] Executing command "7z x C:\Users\gzeiss\AppData\Local\Programs\MCUXpressoInstaller\.cache\zephyr-sdk-0.17.0_windows-x86_64_minimal.7z -oC:\Users\gzeiss -y"
[error] Could not spawn command 7z
[error] Command 7z exited with code spawn 7z ENOENT.

0 项奖励
回复
2 回复数

555 次查看
geoffreyzeiss
Contributor IV
7zip was not in my user environment variables. However, now it is, and I still have the same errors in MCUXpresso Installer.

set PATH=%PATH%;C:\Program Files\7-Zip\
echo %PATH%
7z


7-Zip 24.09 (x64) : Copyright (c) 1999-2024 Igor Pavlov : 2024-11-29
0 项奖励
回复

552 次查看
geoffreyzeiss
Contributor IV

I manually put in the string for executing into my command prompt. That worked. Then I refreshed MCUXpresso and now it shows as installed. 

Fixed, but strange.

0 项奖励
回复