Intel AI PC Dev Kit Support
Forum for Intel AI PC dev kit support issues
7 Discussions

Build.bat fails during AI PC Dev Kit installation

nomanisan
Beginner
305 Views

I have followed the instructions here twice: 
https://github.com/intel/aipc-devkit-install/


But each time, I receive this error message when running Build.bat.

  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>Build.bat
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM Copyright (C) 2024 Intel Corporation
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM Author: Krishna Lakhotia <krishna.lakhotia@intel.com>
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM Author: Balasubramanyam Agalukote Lakshmipathi <balasubramanyam.agalukote.lakshmipathi@intel.com>
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM This software and the related documents are Intel copyrighted materials, and your use of them is
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM governed by the express license under which they were provided to you ("License"). Unless the
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM transmit this software or the related documents without Intel's prior written permission.
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM This software and the related documents are provided as is, with no express or implied warranties,
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM other than those that are expressly stated in the License.
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>echo " Start Building Intel AI PC Development Kit"
    " Start Building Intel AI PC Development Kit"
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>set arg1=1.1.0.0
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>IF "1.1.0.0" == "" set arg1=1.1.0.0
  • (venv) C:\Users\(username)\Documents\aipc-devkit-install\build>create-version-file installer_metadata.yml --outfile file_version_info.txt --version 1.1.0.0

Traceback (most recent call last):
File "C:\Users\(username)\Documents\aipc-devkit-install\venv\lib\site-packages\pyinstaller_versionfile\metadata.py", line 100, in from_file
with codecs.open(filepath, encoding="utf-8") as infile:
File "C:\Program Files\Python310\lib\codecs.py", line 906, in open
file = builtins.open(filename, mode, buffering)
FileNotFoundError: [Errno 2] No such file or directory: 'installer_metadata.yml'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):

File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\(username)\Documents\aipc-devkit-install\venv\Scripts\create-version-file.exe\__main__.py", line 7, in <module>
File "C:\Users\(username)\Documents\aipc-devkit-install\venv\lib\site-packages\pyinstaller_versionfile\__main__.py", line 112, in create_version_file
pyinstaller_versionfile.create_versionfile_from_input_file(
File "C:\Users\(username)\Documents\aipc-devkit-install\venv\lib\site-packages\pyinstaller_versionfile\__init__.py", line 57, in create_versionfile_from_input_file
metadata = MetaData.from_file(
File "C:\Users\(username)\Documents\aipc-devkit-install\venv\lib\site-packages\pyinstaller_versionfile\metadata.py", line 107, in from_file
raise exceptions.InputError(f"File {filepath} does not exist") from err
pyinstaller_versionfile.exceptions.InputError: File installer_metadata.yml does not exist

(venv) C:\Users\(username)\Documents\aipc-devkit-install\build>REM Verify the version file creation

(venv) C:\Users\(username)\Documents\aipc-devkit-install\build>if not exist file_version_info.txt (
echo file_version_info.txt was not created.
exit /b 1
)
file_version_info.txt was not created.

--

As a result, the dist directory and its installer exe files are not created.

Labels (2)
0 Kudos
1 Reply
bagaluko
Employee
282 Views

Sorry to hear that, we have put a fix, could you please get the latest source and rerun.

0 Kudos
Reply