-
Notifications
You must be signed in to change notification settings - Fork 6
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
Error module capa-render #1
Comments
I'll give this a check. Will get back to you this weekend.
Thanks for reporting this.
…On Wed, Nov 10, 2021, 5:44 PM suricatalfon, ***@***.***> wrote:
Hí,
I have everything I need installed. With python 3.6 and 3.9.
3.6:
python3.6 ./mbcscan.py -v
Traceback (most recent call last):
File "./mbcscan.py", line 13, in <module>
import capa.main
ModuleNotFoundError: No module named 'capa.main'
3.9:
$ python3.9 ./mbcscan.py -v
Traceback (most recent call last):
File "/home/alfon/tools/mbcscan/./mbcscan.py", line 21, in <module>
from capa.render import convert_capabilities_to_result_document
ImportError: cannot import name 'convert_capabilities_to_result_document' from 'capa.render' (/usr/local/lib/python3.9/dist-packages/capa/render/__init__.py)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHWMPQRREGJTN5D6MYJRVDULI5HZANCNFSM5HXNRH6Q>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Thanks ;-) |
I am experiencing the same error as above. May I know if you manage to check it out? Thanks! |
I apologize for not getting back sooner. I have looked into the problem and have seen that there are a couple of changes on the dependencies. I have done some fixes and would push them once properly implemented and tested. Thanks! |
That is great, thank you. I will be looking forward to the upcoming update. |
Hello, everyone. So the problem was that one of the dependencies (flare-capa) has made changes to the structure of their code. I had to do a few fixes so it should be fine now. Take note that I have only tested this code on a Windows machine because that's what I currently have access to now. I'll give it a whirl on Linux soon. Also, if you are using Python 3.10 and are still encountering problems then download the capa repository (https://github.com/mandiant/capa) and install it using pip.
Install the other dependencies too, just in case
This is only temporary fix until flare-capa releases a new version after 3.2.0 on pip. Thanks! |
Hí,
I have everything I need installed. With python 3.6 and 3.9.
3.6:
3.9:
The text was updated successfully, but these errors were encountered: