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

/usr/bin/env: ‘python’: No such file or directory #513

Open
maverickfilmes opened this issue Jul 8, 2023 · 2 comments
Open

/usr/bin/env: ‘python’: No such file or directory #513

maverickfilmes opened this issue Jul 8, 2023 · 2 comments

Comments

@maverickfilmes
Copy link

When clicking share, with a youtube link, I get the following title error

Error

@maverickfilmes
Copy link
Author

I did the following commands and solved the problem above:

sudo ln -s /usr/bin/python3 /usr/bin/python

export PATH="/usr/bin:$PATH"


But now this error appears:

WARNING: Writing cache to '/var/www/.cache/youtube-dl/youtube-sigfuncs/js_1dda5629_107.json' failed: Traceback (most recent call last):, File "/usr/local/bin/youtube-dl/youtube_dl/cache.py", line 49, in store, os.makedirs(os.path.dirname(fn)), File "/usr/lib/python3.10/os.py", line 215, in makedirs, makedirs(head, exist_ok=exist_ok), File "/usr/lib/python3.10/os.py", line 215, in makedirs, makedirs(head, exist_ok=exist_ok), File "/usr/lib/python3.10/os.py", line 225, in makedirs, mkdir(name, mode), PermissionError: [Errno 13] Permission denied: '/var/www/.cache', , WARNING: Writing cache to '/var/www/.cache/youtube-dl/youtube-sigfuncs/js_1dda5629_103.json' failed: Traceback (most recent call last):, File "/usr/local/bin/youtube-dl/youtube_dl/cache.py", line 49, in store, os.makedirs(os.path.dirname(fn)), File "/usr/lib/python3.10/os.py", line 215, in makedirs, makedirs(head, exist_ok=exist_ok), File "/usr/lib/python3.10/os.py", line 215, in makedirs, makedirs(head, exist_ok=exist_ok), File "/usr/lib/python3.10/os.py", line 225, in makedirs, mkdir(name, mode), PermissionError: [Errno 13] Permission denied: '/var/www/.cache', , ERROR: Unable to extract uploader id; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@DanielnetoDotCom
Copy link
Member

You may need to google to find out how to resolve your youtube-dl installation.

also I recommend you to install yt-dlp instead

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

No branches or pull requests

2 participants