Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Windows executable has inconsistent Python version response and inability to update depending on current directory #24973
Comments
|
|
Your situation is youtube-dl installed via |
|
You're absolutely right, and I apologize for wasting your time. I have no recollection of installing it with pip, but there is a 95 kb youtube-dl.exe in my Python/Scripts directory. So clearly at some point, I did. Thank you very much for pointing out what I had done! |
Checklist
Verbose log
Description
The above example log demonstrates two inconsistencies while running the youtube-dl.exe Windows executable via PATH environment variable execution instead of from the directory that youtube-dl.exe resides. In this example, its located in C:\bin but I am executing it from C:\Scripts:
To summarize: Both above-described situations will work normally/properly if youtube-dl.exe is run from its directory. The problem is when run via PATH environment variable execution. Downloading and other functions otherwise work fine via PATH environment variable execution.