Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encountered error while trying to install package. I Windows 11 #49

Open
suresh-vuppala opened this issue Mar 7, 2023 · 2 comments
Open

Comments

@suresh-vuppala
Copy link

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.

@SerjShepelevich
Copy link

  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>

@VincentPelletier1
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants