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

python3 modifies the path in an unexpected way #686

Closed
Ana06 opened this issue Oct 12, 2023 · 0 comments · Fixed by #710
Closed

python3 modifies the path in an unexpected way #686

Ana06 opened this issue Oct 12, 2023 · 0 comments · Fixed by #710
Assignees
Labels
🐛 bug Something isn't working 🌀 FLARE-VM A package or feature to be used by FLARE-VM

Comments

@Ana06
Copy link
Member

Ana06 commented Oct 12, 2023

What's the problem?

After installing libraries.python3.vm C:\Python310\Scripts\ is at the top of PATH, instead of C:\ProgramData\chocolatey\bin, which means that the python capa library is found instead of the capa executable (that includes the rules). I think we should read the chocolatey path at the top after installing Python. This issue probably have to be solved in combination with #673

Steps to Reproduce

Install libraries.python3.vm and execute capa from the command line.

Environment

Environment independent.

Detected by test suite

No

@Ana06 Ana06 added the 🐛 bug Something isn't working label Oct 12, 2023
@Ana06 Ana06 added this to the FLARE-VM 2023 Q4 milestone Oct 12, 2023
@Ana06 Ana06 added the 🌀 FLARE-VM A package or feature to be used by FLARE-VM label Oct 17, 2023
@Ana06 Ana06 self-assigned this Oct 19, 2023
@Ana06 Ana06 mentioned this issue Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working 🌀 FLARE-VM A package or feature to be used by FLARE-VM
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant