Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Can't attach .venv in powershell/windows #4

@bjornasm

Description

@bjornasm

Hi,

I try to run Erys in Powershell on Windows, and it seems like it automatically appends unix style path to the python executable, which gives me a FileNotFoundError.

FileNotFoundError: [WinError 2]

We see why in the error output:

args = 'C:\\Users\\myuser\\sandbox\\testingerys\\.venv\\bin\\python -c "import importlib.util;

I see this happens in the following function:

hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

so if this means its aware its on a windows computer, I guess you could change the expected path to the windows executable accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions