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

Constant lxml issue on Mac m1/m2 #489

Open
rach1tarora opened this issue Nov 15, 2024 · 8 comments
Open

Constant lxml issue on Mac m1/m2 #489

rach1tarora opened this issue Nov 15, 2024 · 8 comments
Labels
bug Something isn't working dependencies Pull requests that update a dependency file

Comments

@rach1tarora
Copy link

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lxml
Building wheel for impacket (pyproject.toml) ... done
Created wheel for impacket: filename=impacket-0.13.0.dev0+20241024.90011.835e175-py3-none-any.whl size=1593720 sha256=a35975df7d259f6c7d8eefcc3b601bedb19a7f135a76ae6a0d38c7f88079e0ee
Stored in directory: /private/var/folders/hr/gmdrvmf95b36nlnr9clmcx100000gn/T/pip-ephem-wheel-cache-kg_sfrkc/wheels/91/bb/cd/3677c58ae36d295fbd93608e451428d2f4d282bed527905141
Building wheel for pynfsclient (pyproject.toml) ... done
Created wheel for pynfsclient: filename=pyNfsClient-0.1.5-py2.py3-none-any.whl size=37361 sha256=3b04670bf2d8135567a80b24f4f9e9e1e49b9011b873afdba1cb54eec22fd50e
Stored in directory: /private/var/folders/hr/gmdrvmf95b36nlnr9clmcx100000gn/T/pip-ephem-wheel-cache-kg_sfrkc/wheels/72/cf/ec/b7f7546493df28bbb98681a9158e568809dc723bd641fb6de8
Successfully built netexec impacket pynfsclient
Failed to build lxml
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (lxml)

I have tried every workaround, this just doesn't seem to work

@NeffIsBack
Copy link
Contributor

How did you try to install it?

@NeffIsBack
Copy link
Contributor

And what is your python version?

@rach1tarora
Copy link
Author

Python 3.13.0

also, used pipx / cloned repo and tried to install manually

@NeffIsBack
Copy link
Contributor

Looks like this is an issue with python 3.13. lxml fails to build on my machine with that py version as well, we will fix it soon

@NeffIsBack
Copy link
Contributor

Until then you could install nxc with a different python version

@NeffIsBack NeffIsBack added bug Something isn't working dependencies Pull requests that update a dependency file labels Nov 15, 2024
@NeffIsBack
Copy link
Contributor

NeffIsBack commented Nov 15, 2024

If you do need python 3.13 i can give you a hacky workaround, but better you use python 3.12 as this is tested and supported

@KeyStrOke95
Copy link

Ensure that Python 3.12 is installed:

brew install python@3.12

Then, identify it's location:

$ which python3.12
/usr/local/bin/python3.12

Finally, use the following command to specify the Python version for pipx.

$ pipx install git+https://github.com/Pennyw0rth/NetExec --python /usr/local/bin/python3.12

This ensures the package is installed without any issues.

@rach1tarora
Copy link
Author

Thank you! I'm glad that this turned out to be a bug and not me being lazy. I will install this with the workaround, thank you for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

No branches or pull requests

3 participants