NetExec icon indicating copy to clipboard operation
NetExec copied to clipboard

ERROR: Failed building wheel for aardwolf

Open Ayanashi opened this issue 1 year ago • 15 comments
trafficstars

Cannot install on arch NetExec, tryed with pip, pipx and poetry

Python 3.12.3 6.9.4-zen1-1-zen Archlinux

Ayanashi avatar Jun 15 '24 21:06 Ayanashi

@Ayanashi Can you provide some more information? Where does it fail? What's the output when it fails?

Marshall-Hallenbeck avatar Jun 16 '24 00:06 Marshall-Hallenbeck

I had this issue as well earlier today on Arch after upgrading my system. Couldn't install NetExec via pipx because aardwolf wheel build failure. This was resolved by updating my Rust toolchain to a stable release channel which also sets default versions for cargo and rustc.

I ran the following command and then was able to proceed with a normal install without issues:

rustup default stable
pip3 install aardwolf --break-system-packages
pipx install git+https://github.com/Pennyw0rth/NetExec

@Ayanashi If this resolves your install problem please accordingly close this issue. Thank you

Mercury0 avatar Jun 20 '24 21:06 Mercury0

If that works we can add it to the install instructions ^^ @Ayanashi please confirm if that worked or not.

Marshall-Hallenbeck avatar Jun 21 '24 15:06 Marshall-Hallenbeck

Ran into the same issue on Ubuntu 24.04 LTS. Fix @Mercury0 suggested worked on my end.

justin-p avatar Jul 08 '24 12:07 justin-p

Suggest Work! thanks

Ayanashi avatar Jul 14 '24 14:07 Ayanashi

@Marshall-Hallenbeck We have a few people here validating the fix worked. If you could add to the install instructions that would be great

Mercury0 avatar Jul 16 '24 13:07 Mercury0

on 3.13 nothing helping. only switching to 3.11 provide perfect results all breaks on aardwolf building with wheel

SantaLaMuerte avatar Mar 08 '25 22:03 SantaLaMuerte

on 3.13 nothing helping. only switching to 3.11 provide perfect results all breaks on aardwolf building with wheel

This should be fixed with installing rust. Aardwolf needs it to build its wheel

NeffIsBack avatar Mar 08 '25 23:03 NeffIsBack

This should be fixed with installing rust. Aardwolf needs it to build its wheel

ofk rust installed, cargo rustup wheels setuptools, everything. but i was have no luck trying to install Netexec via pipx on 3.13 . Always failed to build aardwolf . Just reinstalling 3.13 to 3.11 without any additional moves - fix the problem. (OS - windows 10 pro)

reproduce in 3rd machine with win 10. same issue with aardwolf (i think its about rust , aardwolf and python missconfigs) python --version Python 3.13.2 cargo --version cargo 1.85.0 (d73d2caf9 2024-12-31) rustup --version rustup 1.27.1 (54dd3d00f 2024-04-24) info: This is the version for the rustup toolchain manager, not the rustc compiler. info: The currently active rustc version is rustc 1.85.0 (4d91de4e4 2025-02-17)

Image

SantaLaMuerte avatar Mar 09 '25 00:03 SantaLaMuerte

Okay, good to know, then it is maybe a Windows only problem. I will dig into it the upcoming weeks

NeffIsBack avatar Mar 09 '25 11:03 NeffIsBack

This should be fixed with installing rust. Aardwolf needs it to build its wheel

ofk rust installed, cargo rustup wheels setuptools, everything. but i was have no luck trying to install Netexec via pipx on 3.13 . Always failed to build aardwolf . Just reinstalling 3.13 to 3.11 without any additional moves - fix the problem. (OS - windows 10 pro)

reproduce in 3rd machine with win 10. same issue with aardwolf (i think its about rust , aardwolf and python missconfigs) python --version Python 3.13.2 cargo --version cargo 1.85.0 (d73d2caf9 2024-12-31) rustup --version rustup 1.27.1 (54dd3d00f 2024-04-24) info: This is the version for the rustup toolchain manager, not the rustc compiler. info: The currently active rustc version is rustc 1.85.0 (4d91de4e4 2025-02-17)

Image

Having same issue. Maybe this issue should be reopened.

Loukious avatar Apr 01 '25 20:04 Loukious

Yup, fails to build on my system as well.

Opened up an issue on aardwolf, as this looks like a rust problem: https://github.com/skelsec/aardwolf/issues/33

NeffIsBack avatar Apr 01 '25 21:04 NeffIsBack

Looks like aardwolf build issues are fixed in the main branch, but not in the pypi version. As a workaround until a new release is published you can:

  1. Clone aardwolf into the same folder as NetExec
  2. Create&activate the env
  3. NOW first do pip install ../aardwolf # so install aardwolf directly from the cloned repo
  4. Continue with pip install pyinstaller pillow .

I will leave the issue open so we don't forget to update aardwolf when a new release is out

NeffIsBack avatar Apr 01 '25 23:04 NeffIsBack

Hi guys, I hope this helps you. I compiled with python3.12 virtualenv git clone https://github.com/Pennyw0rth/NetExec.git cd NetExec virtualenv --python="/usr/bin/python3.12" env source env/bin/activate pip --version pip install pyinstaller . pyinstaller netexec.spec

Now, nxc ready ls -la dist/nxc

Cxnsxle avatar Apr 09 '25 14:04 Cxnsxle

Just had the same issue, here is what worked for me (I wanted to keep using pipx):

curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh Chose "1" for default installation, then: echo "source $HOME/.cargo/env" >> ~/.zshrc source ~/.zshrc pipx install git+https://github.com/Pennyw0rth/NetExec

init5-SF avatar Apr 09 '25 18:04 init5-SF