user234683 / youtube-local

browser-based client for watching Youtube anonymously and with greater page performance
GNU Affero General Public License v3.0
486 stars 62 forks source link

The system cannot find the specified path. (Windows) #177

Closed Preppyprep closed 9 months ago

Preppyprep commented 1 year ago

When I open the bat file, this is the error it gives me which I mentioned in the title.

tvcat commented 1 year ago

Make sure you extracted all files to the same single folder.

Preppyprep commented 1 year ago

Make sure you extracted all files to the same single folder.

I did. It just keeps showing this error. even if i run it on admin. btw i'm on windows

user234683 commented 1 year ago

Can you post a screenshot of the error as well as a screenshot of the folder you extracted the program to?

Preppyprep commented 1 year ago

image

I extracted it in Downloads folder

tvcat commented 1 year ago

Create a folder under C:\ with a name that without any space. Extract all the zip file contents to that folder and try again.

If you are not running in portable mode then try create a text file with name "settings.txt" in the folder then run.

If still fail then edit the run.bat file with notepad. Change the first line from @echo off to @echo on. Save the file and run then share the screenshot.

Preppyprep commented 1 year ago

C:\ytlocal>REM https://stackoverflow.com/a/25719250 C:\ytlocal>REM setlocal makes sure changing directory only applies inside this bat file, C:\ytlocal>REM and not in the command shell. C:\ytlocal>setlocal C:\ytlocal>REM So this bat file can be called from a different working directory. C:\ytlocal>REM C:\ytlocal\ is the directory with this bat file. C:\ytlocal>cd /d "C:\ytlocal\" C:\ytlocal>REM This is so brotli and gevent search in the python directory for the C:\ytlocal>REM visual studio c++ runtime dlls C:\ytlocal>set PATH=.\python;C:\Python311\Scripts\;C:\Python311\;C:\Program Files\Python312\Scripts\;C:\Program Files\Python312\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Microsoft VS Code\bin;C:\Program Files\Python312;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\PuTTY\;C:\Users\porcelain\AppData\Local\Microsoft\WindowsApps;C:\Users\porcelain\AppData\Roaming\npm C:\ytlocal>.\python\python.exe -I .\server.py The system cannot find the path specified. C:\ytlocal>echo Press any key to quit... Press any key to quit... C:\ytlocal>PAUSE 1>nul

user234683 commented 12 months ago

Please post a screenshot of the folder you extracted it into, showing its contents

GameFixxer commented 11 months ago

image I have the same issue... this is were I placed the files

user234683 commented 11 months ago

The issue is that you're downloading the raw repository source code using the "Download zip" option on github. Go to the releases page instead and download the windows release from there