Skip to content

python.virtualenv setting confused by trailing slash in path #8400

Description

@VisualEhrmanntraut

BN 5.4.10350-dev

[PythonPlugin] Couldn't configure virtual environment '/Users/visual/Library/Application Support/Binary Ninja/venv/lib/python3.14/site-packages/' is not a directory or is not named 'site-packages'.

The value in the log message with the trailing slash is the result of the "Select..." picker.

Manually editing the value to remove the trailing slash resolves the issue.

The bug in your code likely is some incorrect path handling, like taking a substring of the raw path rather than calling some method like filename.

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions