decalage2 / ViperMonkey

A VBA parser and emulation engine to analyze malicious macros.
1.04k stars 185 forks source link

ModuleNotFoundError: No module named 'logger' #102

Open EnriqueSanchezdelVillar opened 3 years ago

EnriqueSanchezdelVillar commented 3 years ago

Describe the bug I have installed vipermonkey in my Parrot OS using sudo -H pip install -U https://github.com/decalage2/ViperMonkey/archive/master.zip

When I run (vmonkey) it I have the following error: Screenshots WhatsApp Image 2020-11-16 at 08 17 37

Could someone please help me with this? Is it enough information?

Thank you for your attention. Desktop (please complete the following information):

decalage2 commented 3 years ago

Indeed it looks like a bug, it should be from vipermonkey.core.logger import log I think.

EnriqueSanchezdelVillar commented 3 years ago

Any thoughts on how to fix it? It is weird because I was following a youtube video of a guy using Parrot Os also and we did not have this issue when installing it. Thanks!

Bl4ck-D0g commented 3 years ago

Hi, I have the same problem in my Slackware OS. I tried to manually import the "core.logger" library (logger.py), but the result is below: image

decalage2 commented 3 years ago

In fact I just noticed that you are running vipermonkey with Python 3: this is not supported yet. Please try it with Python 2 or PyPy 2.

ElTarget commented 2 years ago

Hello, a few days ago, I started to build vipermonkey in my python2.7 environment, but the error during regex installation was displayed, "x86_64 Linux GNU GCC"。 I checked the regex module and found that python2 is no longer supported. image

ElTarget commented 2 years ago

事实上,我刚刚注意到你正在运行Python 3的vipermonkey:这还不受支持。请尝试使用Python 2或PyPy 2。

Now I build it in the python3 environment, and it also shows the logger problem

WHOLETTHEDOG-OUT commented 2 years ago

Hello, a few days ago, I started to build vipermonkey in my python2.7 environment, but the error during regex installation was displayed, "x86_64 Linux GNU GCC"。 I checked the regex module and found that python2 is no longer supported. image

Meeting the same problem

ElTarget commented 2 years ago

Hello, I have directly done the migration of the Python version. Developed and used based on Python3.

WHOLETTHEDOG-OUT commented 2 years ago

Hello, I have directly done the migration of the Python version. Developed and used based on Python3.

got it.