CommunityScripts
CommunityScripts copied to clipboard
[LocalVisage] Error on path
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"
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
Can you remove the space in "nueva carpets" and try again?
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