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 find '__main__.py' in './youtube-dl' #931

Closed
ghost opened this issue Jun 25, 2013 · 3 comments
Closed

can't find '__main__.py' in './youtube-dl' #931

ghost opened this issue Jun 25, 2013 · 3 comments

Comments

@ghost
Copy link

@ghost ghost commented Jun 25, 2013

To clarify, I did not install youtube-dl to /usr/local/bin/. I installed it to my home directory. I tried running it with ./youtube-dl, and it gave me: can't find 'main.py' in './youtube-dl'

@phihag
Copy link
Contributor

@phihag phihag commented Jun 25, 2013

How exactly did you install youtube-dl? Can you post the entire error message?

It works fine for me:

$ wget http://yt-dl.org/downloads/2013.06.33/youtube-dl -nv
2013-06-26 01:46:56 URL:http://yt-dl.org/downloads/2013.06.33/youtube-dl [117178/117178] -> "youtube-dl" [1]
$ chmod a+x youtube-dl 
$ ./youtube-dl --version
2013.06.33
@ghost
Copy link
Author

@ghost ghost commented Jun 26, 2013

When running ./youtube-dl, I get: /usr/bin/python: can't find 'main.py' in './youtube-dl'

@phihag
Copy link
Contributor

@phihag phihag commented Jun 26, 2013

@JackStoneDev You wrote that above already ;) Can you elaborate a bit and post the exact output you get when you paste the following into your console?

wget http://yt-dl.org/downloads/2013.06.33/youtube-dl -nv
chmod a+x youtube-dl
ls -l youtube-dl
python --version
which python
python ./youtube-dl --version
./youtube-dl --version
@dstftw dstftw closed this Apr 10, 2016
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
2 participants
You can’t perform that action at this time.