AttributeError: module 'ember' has no attribute 'create_vectorized_features'
Opened this issue · 10 comments
I'm working on a project of PE-Malware-Classification-with-Ember.
using dataset of ember_2017_v2.
While training the 1st model I got this error and i don't have idea how to solve this.
If there is anyone who can help me please guide me through this error.
my project deadline is 30-Jan-23 if possible please try to solve it before.
Thank you.
Kartik
(kartikbinzade@gmail.com)
Hi, how did you install ember? Maybe run dir(ember) as a check?
I clone the ember.
I downloaded the dataset and decompress a .bz2 file then extract from tar file
You have to follow the installation instructions first: https://github.com/elastic/ember#install-after-cloning-the-ember-repository
okay the pip cmd's or conda.
pip install -r requirements.txt
python setup.py install
and then !pip install git+https://github.com/elastic/ember?
before this Error I got the build lief error:
ERROR: Failed building wheel for lief
No metadata found in /usr/local/lib/python3.8/dist-packages
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> lief
I think conda commands work out of the box. So maybe do it that way? You will have to install conda first.
And maybe create a new environment first to make sure your ember installation is separated from everything else. A quick reference
I was working in google colab's jupyter notebook.
So should I install Anaconda , set environment & lunch Jupyter Lab
I did that too but some commands doesn't work.
if you have another reference related to this please attach link in the comment.
I think the conda commands should work in a fresh environment. My environment is using python 3.8 so maybe specify that when creating the conda env. Also make sure jupyter is using the correct conda env.
okay, thank you.