elastic / ember

Elastic Malware Benchmark for Empowering Researchers
Other
922 stars 275 forks source link

Installing lief package on google colab #116

Open sadelodun opened 3 months ago

sadelodun commented 3 months ago

I got this during the installation of process of lief: Collecting lief==0.9.0 Using cached lief-0.9.0.zip (5.7 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: lief error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip. Building wheel for lief (setup.py) ... error ERROR: Failed building wheel for lief Running setup.py clean for lief Failed to build lief ERROR: Could not build wheels for lief, which is required to install pyproject.toml-based projects

How can I resolve this? Kindly help.

NassiaV commented 3 months ago

i had the same problem and i tried creating an environment in a python version that can adjust to lief version 0.9.0, and it worked. conda create -n test python=3.6 , where in test you can name it however you want. Then you activate it and install lief version 0.9.0 there, along with all the other libraries you need.

Salma1795 commented 1 month ago

i had the same problem and i tried creating an environment in a python version that can adjust to lief version 0.9.0, and it worked. conda create -n test python=3.6 , where in test you can name it however you want. Then you activate it and install lief version 0.9.0 there, along with all the other libraries you need.

Do you know how to fix it on google colab?