Closed xeasonx closed 1 day ago
Same issue. A error occured when the setup wizard tried to create ryzen environment and the log file "C:\Temp\ryzenai_1.2.0_error_log.txt" showed the following content:
D:\anaconda3\Lib\argparse.py:2006: FutureWarning: `remote_definition` is deprecated and will be removed in 25.9. Use `conda env create --file=URL` instead.
action(self, namespace, argument_values, option_string)
EnvironmentFileNotFound: 'C:\Windows\Installer\SFXCAD4CC70A2004F90AA458B478F69FFC0DE\env.yaml' file not found
System Enviroment:
Ryzen 9 PRO 7940HS
NPU Drivers is installed successfully
Windows 11 24H2 26100.2161
Visual Studio 2022
cmake v3.31.0-rc2
Anaconda 24.9.2
System PATH
PS C:\Users\<username>> [System.Environment]::GetEnvironmentVariable("Path","Machine")
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;D:\Program Files\CMake\bin;D:\anaconda3;D:\anaconda3\Scripts;D:\anaconda3\Library\bin;D:\anaconda3\Library\mingw-w64\bin;D:\anaconda3\Library\usr\bin;
Make sure to use the MSI installer to uninstall the existing installation of RyzenAI-SW. Remove the existing conda environment manually using "conda remove --name ryzen-ai-1.2.0 --all --yes".
Let us know if this resolves the issue.
Make sure to use the MSI installer to uninstall the existing installation of RyzenAI-SW. Remove the existing conda environment manually using "conda remove --name ryzen-ai-1.2.0 --all --yes".
Let us know if this resolves the issue.
Thanks for your replay, unfortunately it does not work.
I think the problem maybe that the installer can't execute msbuild tool, because it is not in system PATH environment. I solve the issue by doing these.
C:\Windows\System32
and C:\Windows\SysWOW64
is in SYSTEM PATH too.conda remove --name ryzen-ai-1.2.0 --all --yes
.ryzen-ai-1.2.0-20240726.msi
. DO NOT change the default installation path, I encountered the same env.yml
not found problem when I tried to install it on other path.env.yml
not found error, go to step 3 and install again, it is just another tricky point.
After that, I ran the quicktest.py and test pass.
I think the problem maybe that the installer can't execute msbuild tool, because it is not in system PATH environment. I solve the issue by doing these.
- After install Visual Studio 2022, add msbuild tool to SYSTEM PATH, for example: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\Hostx64\x64.
- Also make sure that
C:\Windows\System32
andC:\Windows\SysWOW64
is in SYSTEM PATH too.- Remove conda environment created by the installer previous,
conda remove --name ryzen-ai-1.2.0 --all --yes
.- Open a terminal with administration privilege, execute
ryzen-ai-1.2.0-20240726.msi
. DO NOT change the default installation path, I encountered the sameenv.yml
not found problem when I tried to install it on other path.- In step 3, if you still got
env.yml
not found error, go to step 3 and install again, it is just another tricky point. After that, I ran the quicktest.py and test pass.
It works! Thanks a lot!
Processor: AMD Ryzen AI 9 365 w/ Radeon 880M System: Windows 11 Version24H2 (OS Build 26100.2033) Installer: ryzen-ai-1.2.0-20240726.msi
During the install process, a CMD window prompt. After a while, the CMD window closed, and show and error. The installation failed. The error log shows this: