python-aruco
python-aruco copied to clipboard
Encountered error while trying to install package. I Windows 11
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.35.32215\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure
Encountered error while trying to install package.
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.36.32532\\bin\\HostX86\\ note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for aruco Running setup.py clean for aruco Failed to build aruco ERROR: Could not build wheels for aruco, which is required to install pyproject.toml-based projects (venv) PS C:\Test_progects\fractal>
You need to run poetry on your project. With that being said, it seems the repo won't be functional anytime soon since even when you add the aruco package using poetry, you get the following error:
~/pyenv/versions/3.10.9/lib/python3.10/site-packages/poetry/installation/chef.py:147 in _prepare
143│
144│ error = ChefBuildError("\n\n".join(message_parts))
145│
146│ if error is not None:
→ 147│ raise error from None
148│
149│ return path
150│
151│ def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:
and then, further down:
Note: This error originates from the build backend, and is likely not a problem with poetry but with aruco (3.1.12.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "aruco (==3.1.12.0)"'.
There seems to be a 3.1.15 version here, but then again, its in c++, so if you're looking to use the library as is, it won't work.