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.
Python27 using youtube-dl.exe in Win7 #3065
Comments
|
This error is really weird, but not for the reason you think it is. There are three ways to run youtube-dl:
You've picked the third option, so your version of youtube-dl should work on any system. However, it fails to load initially, and that's the weird part. I would very much like to reproduce this problem. Can you try moving youtube-dl to the current directory and re-running it? If the error persists with youtube-dl in the current directory, can you give me the following information?
|
|
Thank you very much for your prompt answer phihag! |
|
Marvellous! You can put youtube-dl into, say, |
|
I am still getting similar error. I just downloaded the software today. I added the environment variable as phihag suggested but I am still getting the following error. File "C:\Python27\lib\site-packages\py2exe\boot_common.py", line 92, in |
|
make sure you don't have a copy in your system32 directory. |
|
I am facing similar error as well. |
|
I have had the same problem due to running it from a different directory, it worked after I cd'd into the same folder. Hopefully that helps someone if they're running it from a subdirectory like I was. |
|
@MoffD Such a problem occurs if you put youtube-dl.exe in \Windows\System32. |
|
@yan12125 Interesting, however I was running it from my downloads folder with "..\youtube-dl.exe url_here" so it's not just isolated to the (DRIVE)\Windows\System32 path |
|
Please post the full path and the output of |
I'm running youtube-dl.exe in my \windows\system32 directory from my home folder\downloads. I'm using Python 3.4.1. When I run something like "youtube-dl https://www.youtube.com/watch?v=eoXY7LSy_ZY" it comes back with:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\py2exe\boot_common.py", line 92, in
ImportError: No module named linecache
Traceback (most recent call last):
File "", line 1, in
ImportError: No module named zipextimporter
Traceback (most recent call last):
File "main.py", line 15, in
ImportError: No module named youtube_dl
Why is it defaulting to Python27? Where can I specify that I'm not using Python 2.7? The directory listed in the message doesn't exist, my Python directory is C:\Python34.
I ran searches for support and I have found nothing even similar to this.
I believe I am doing something so stupid that nobody else has even thought of doing and that's probably why it's happening, but I'm a newbie and I haven't figured out what I'm doing wrong yet.
Any help is greatly appreciated.