Skip to content

[LocalVisage] Error on path #601

Open

Description

@efraxs

Here is the Log when i try to Rebuild Face Recognition Model

2025-08-08 19:23:05Error   [Plugin / Local Visage] C:\Users\efrax\AppData\Local\Programs\Python\Python310\python.exe: can't open file 'D:\\usuario\\Escritorio\\Nueva carpeta\\stash\\carpeta\\stash\\plugins\\community\\LocalVisage\\venv\\Scripts\\python.exe': [Errno 2] No such file or directory
2025-08-08 19:18:43Info    [Plugin / Local Visage] Installing dependencies... This might take a while
2025-08-08 19:18:43Info    [Plugin / Local Visage] Virtual environment created at D:\usuario\Escritorio\Nueva carpeta\stash\plugins\community\LocalVisage\venv

The path that is showing in the log is incorrect

'D:\usuario\Escritorio\Nueva carpeta\stash\carpeta\stash\plugins\community\LocalVisage\venv\Scripts\python.exe'
it should be
"D:\usuario\Escritorio\Nueva carpeta\stash\plugins\community\LocalVisage\venv\Scripts\python.exe"

Activity

  1. Nonoty commented on Aug 11, 2025

    @Nonoty
    Contributor

    venv_dir = os.path.join(os.path.dirname(file), "venv")
    Normally the path is calculated from the folder the python script is in + /venv/
    So idk how you can have something different

  2. Nonoty commented on Aug 11, 2025

    @Nonoty
    Contributor

    Can you remove the space in "nueva carpets" and try again?

  3. Nonoty commented on Aug 11, 2025

    @Nonoty
    Contributor

    Someone else with the same issue fixed it by removing the space.

    It's because the subprocess call doesn't like space as it takes it for another command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions