Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows binary out of date #443

Closed
mandarl opened this issue Sep 29, 2012 · 4 comments
Closed

Windows binary out of date #443

mandarl opened this issue Sep 29, 2012 · 4 comments

Comments

@mandarl
Copy link

@mandarl mandarl commented Sep 29, 2012

The .exe seems to be out of date. I am facing "September 2012" issue with the exe.

Also, there used to be a single .py file (youtube-dl.py) in the root folder. I used to use that file on windows. But, it seems to have been removed.

@Tailszefox
Copy link
Contributor

@Tailszefox Tailszefox commented Sep 29, 2012

You can still get the single Python file on the download page, the only difference is that it's a zip file, but it's transparent to Python. No need to uncompress it, just execute it using python youtube-dl and you should be good to go.

There's an entry in the Makefile to create an up-to-date executable Windows file as well, though for me it produces an exe I can't launch neither with Wine (there's a bunch of ImportError) nor on a native Windows, which throws a Runtime error from Visual C++. Not sure if I'm doing something wrong there.

@mandarl
Copy link
Author

@mandarl mandarl commented Sep 29, 2012

Awesome! .. the zip works perfectly .. didn't know this about python. Thanks @Tailszefox.

@mandarl mandarl closed this Sep 29, 2012
@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Sep 29, 2012

@Tailszefox Wow, you are the first that run make exe by himself and came back to tell it ;)
The fact is that the exe needs Microsoft Visual C++ 2008 Redistributable Package and I am not good enough to bundle it in one file.

You can download the Package here
http://www.microsoft.com/en-us/download/details.aspx?id=29

Updating the exe.

@Tailszefox
Copy link
Contributor

@Tailszefox Tailszefox commented Sep 29, 2012

@FiloSottile Ah, weird! I suppose most people using Linux don't need to compile a Windows version.

And yep, installing the package makes the exe I compiled work and able to download the videos. I had to make a few changes to wine-py2exe.sh to get it not to exit with an error, but other than that, it's all good now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.