Open RoninFromMoscow opened 8 months ago
You're seeing an issue with your install of yt-dlp, not this project. I'd suggest you report this to them.
On Mon, Jan 8, 2024, at 2:58 PM, RoninFromMoscow wrote:
I got
Ubuntu 18.04
requirements
sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp sudo chmod a+rx /usr/local/bin/yt-dlp # Make executable sudo apt install ffmpeg installation
mkdir test-project cd test project git clone https://github.com/obra/Youtube2Webpage.git cd Youtube2Webpage first run
./yt-to-webpage.pl project-name "https://www.youtube.com/watch?v=jNQXAC9IVRw" Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/bin/yt-dlp/main.py", line 14, in
File "/usr/local/bin/yt-dlp/yt_dlp/init.py", line 5, in ImportError: You are using an unsupported version of Python. Only Python versions 3.8 and above are supported by yt-dlp Can't open ' ' for reading: 'No such file or directory' at ./yt-to-webpage.pl line 21 in error versions 3.8 and above
but I gotpython
is2.7*
andpython3
is3.11
, but which is used?fixed python version
sudo apt install python3.8 updated
~/.bashrc
alias python='/usr/bin/python3.8' alias python3='/usr/bin/python3.8'
thensource ~/.bashrc and now
python --version Python 3.8.0 python3 --version Python 3.8.0 ok, again
./yt-to-webpage.pl project-name "https://www.youtube.com/watch?v=jNQXAC9IVRw" Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/local/bin/yt-dlp/main.py", line 14, in
File "/usr/local/bin/yt-dlp/yt_dlp/init.py", line 5, in ImportError: You are using an unsupported version of Python. Only Python versions 3.8 and above are supported by yt-dlp Can't open ' ' for reading: 'No such file or directory' at ./yt-to-webpage.pl line 21 Please help me to understand how it should work? — Reply to this email directly, view it on GitHub https://github.com/obra/Youtube2Webpage/issues/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAALC2A7UZS72Z7BR5XH5W3YNR2XRAVCNFSM6AAAAABBSF64K6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA3TCMZVG44DOOI. You are receiving this because you are subscribed to this thread.Message ID: @.***>
ok, but what version of yt-dlp
is used for Youtube2Webpage
project to work correctly? .. and ffmpeg by the way?
We don't have a specific requirements. Anything recentish should be fine
I got
Ubuntu 18.04
requirements
installation
first run
in error
versions 3.8 and above
but I gotpython
is2.7*
andpython3
is3.11
, but which is used?fixed python version
updated
~/.bashrc
then
and now
ok, again
Please help me to understand how should it work?