Help needed installing Landing AI Python Package
Hello!
I am running to some difficulties installing pip install landingai~=0.3.0 to my computer. We installed a fresh installation of Python 3.13, along with the pip requirements.
Are C/C++ build tools required to install landing AI python package?
The error we are facing is the following: Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [21 lines of output]
+ C:\Users\…\AppData\Local\Programs\Python\Python313\python.exe C:\Users\…\AppData\Local\Temp\pip-install-4kb01bys\numpy_91baf3ecf70b47d6aeb3eb04f5e90063\vendored-meson\meson\meson.py setup C:\Users\…\AppData\Local\Temp\pip-install-4kb01bys\numpy_91baf3ecf70b47d6aeb3eb04f5e90063 C:\Users\...\AppData\Local\Temp\pip-install-4kb01bys\numpy_91baf3ecf70b47d6aeb3eb04f5e90063\.mesonpy-9jlgalep -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\…\AppData\Local\Temp\pip-install-4kb01bys\numpy_91baf3ecf70b47d6aeb3eb04f5e90063\.mesonpy-9jlgalep\meson-python-native-file.ini
The Meson build system
Version: 1.2.99
Source dir: C:\Users\...\AppData\Local\Temp\pip-install-4kb01bys\numpy_91baf3ecf70b47d6aeb3eb04f5e90063
Build dir: C:\Users\...\AppData\Local\Temp\pip-install-4kb01bys\numpy_91baf3ecf70b47d6aeb3eb04f5e90063\.mesonpy-9jlgalep
Build type: native build
Project name: NumPy
Project version: 1.26.4
WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe
..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']]
The following exception(s) were encountered:
Running `icl ""` gave "[WinError 2] The system cannot find the file specified"
Running `cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `cc --version` gave "[WinError 2] The system cannot find the file specified"
Running `gcc --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang --version` gave "[WinError 2] The system cannot find the file specified"
Running `clang-cl /?` gave "[WinError 2] The system cannot find the file specified"
Running `pgcc --version` gave "[WinError 2] The system cannot find the file specified"
A full log can be found at C:\Users\...\AppData\Local\Temp\pip-install-4kb01bys\numpy_91baf3ecf70b47d6aeb3eb04f5e90063\.mesonpy-9jlgalep\meson-logs\meson-log.txt
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> numpy
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.