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

Can't Make or Install YDL in Windows 8.1x64/Python 3.4.2150 #5098

Closed
HASJ opened this issue Mar 1, 2015 · 8 comments
Closed

Can't Make or Install YDL in Windows 8.1x64/Python 3.4.2150 #5098

HASJ opened this issue Mar 1, 2015 · 8 comments

Comments

@HASJ
Copy link

@HASJ HASJ commented Mar 1, 2015

Neither any other Python module aside from pip (done with get-pip.py).

All I get is this

cmd.exe
%USERPROFILE%\youtube-dl\setup.py install
D:\Downloads\youtube-dl\setup.py:60: UserWarning: Skipping file youtube-dl.bash-completion since it is not present. Type make to build all automatically generated files.
warnings.warn('Skipping file %s since it is not present. Type make to build all automatically generated files.' % fn)
D:\Downloads\youtube-dl\setup.py:60: UserWarning: Skipping file youtube-dl.fish since it is not present. Type make to build all automatically generated files.
warnings.warn('Skipping file %s since it is not present. Type make to build all automatically generated files.' % fn)
D:\Downloads\youtube-dl\setup.py:60: UserWarning: Skipping file README.txt since it is not present. Type make to build all automatically generated files.
warnings.warn('Skipping file %s since it is not present. Type make to build all automatically generated files.' % fn)
D:\Downloads\youtube-dl\setup.py:60: UserWarning: Skipping file youtube-dl.1 since it is not present. Type make to build all automatically generated files.
warnings.warn('Skipping file %s since it is not present. Type make to build all automatically generated files.' % fn)
Traceback (most recent call last):
File "D:\Downloads\youtube-dl\setup.py", line 74, in
exec(compile(open('youtube_dl/version.py').read(),
FileNotFoundError: [Errno 2] No such file or directory: 'youtube_dl/version.py'

Admin rights doesn't work either. Help?

EDIT: So dumb... All I had to do was navigate to the YDL folder in the CMD.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 1, 2015

Why not just download the windows youtube-dl.exe binary with python embedded?

@HASJ
Copy link
Author

@HASJ HASJ commented Mar 1, 2015

Because I want to edit the --max-connection-server=* under the external.py to actually use my connection in a meaningful way, since there is no way to argument with aria2 using the --external-downloader argument in YDL.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 1, 2015

Just checkout the repository as explained here.

@HASJ
Copy link
Author

@HASJ HASJ commented Mar 1, 2015

I managed to get pip to work and got it through there.

I am very noobish when it comes to this stuff but I'm learning. Had to add the Scripts folder under my Python to the $PATH and it started working.

@HASJ
Copy link
Author

@HASJ HASJ commented Mar 2, 2015

Installation is now working, but how do I make/compile it?

@phihag
Copy link
Contributor

@phihag phihag commented Mar 2, 2015

To make youtube-dl, type make.

@phihag phihag closed this in c75f0b3 Mar 2, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Mar 3, 2015

There is no need to edit youtube-dl's source code in your case. Instead, simply use the --external-downloader-args option, possibly in a configuration file.

@HASJ
Copy link
Author

@HASJ HASJ commented Mar 4, 2015

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.