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

Issue installing Caldera. sudo pip3 install -r requirements.txt Command error #2873

Closed
Christopherhausner opened this issue Feb 10, 2024 · 2 comments
Labels

Comments

@Christopherhausner
Copy link

Hello, when I run sudo pip3 install -r requirements.txt, I get the following
error: command '/usr/bin/clang' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for donut-shellcode
Building wheel for svglib (pyproject.toml) ... done
Created wheel for svglib: filename=svglib-1.5.1-py3-none-any.whl size=30903 sha256=bd850496596bab51627dabb858f47d2cf1c236a5c98602a8b7940be8c8b8aa5b
Stored in directory: /private/tmp/pip-ephem-wheel-cache-77hf8zlo/wheels/56/9f/90/f37f4b9dbf82987a24ae14f15586e96715cb669a4710b3b85d
Building wheel for lxml (pyproject.toml) ... done
Created wheel for lxml: filename=lxml-4.9.4-cp310-cp310-macosx_10_9_universal2.whl size=2902040 sha256=8a39f6ca28ba5edd36c141617f19722783cb89c60f7add2ce90eeb4f84ece489
Stored in directory: /private/tmp/pip-ephem-wheel-cache-77hf8zlo/wheels/ed/c8/be/7f162d65337daa39c3c760f9d33ffa282c0c21377142640fa4
Successfully built aiohttp-apispec svglib lxml
Failed to build donut-shellcode
ERROR: Could not build wheels for donut-shellcode, which is required to install pyproject.toml-based projects

I am on a Mac with a M2 Max chip. Any ideas how to get around this and get Caldera working?

Copy link

Looks like your first issue -- we aim to respond to issues as quickly as possible. In the meantime, check out our documentation here: http://caldera.readthedocs.io/

@elegantmoose
Copy link
Contributor

@Christopherhausner There are issues with pip installing donut on Mac at the moment. We are going to move the donut dependency to the Stockpile plugin as its only needed for certain payloads in that plugin. That will be pushed in larger release about mid-week.

But for the moment, you can just remove the donut-shellcode==1.0.2 from the `requirements.txt' file (https://github.com/mitre/caldera/blob/master/requirements.txt#L15C1-L15C23).

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

No branches or pull requests

2 participants