Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197049

ModuleNotFoundError for youtube_dl

From Tim Johnson <thjmmj15@gmail.com>
Newsgroups comp.lang.python
Subject ModuleNotFoundError for youtube_dl
Date 2024-12-09 14:59 -0900
Message-ID <mailman.13.1733788795.2965.python-list@python.org> (permalink)
References <52495180-0498-4819-9baf-8e6a0717a26d@gmail.com>

Show all headers | View raw


Recently did a refresh of ubuntu 24.04

With no code changes am now getting a *ModuleNotFoundError *for youtube_dl

Relevant code is

import sys
sys.path.append("/home/tim/.local/share/pipx/venvs/youtube-dl/lib/python3.12/site-packages/youtube_dl")

import youtube_dl '

Navigating to 
/home/tim/.local/share/pipx/venvs/youtube-dl/lib/python3.12/site-packages/youtube_dl,

I see the following

tim@beelink:~/.local/share/pipx/venvs/youtube-dl/lib/python3.12/site-packages/youtube_dl$ 
ls
aes.py    compat.py   extractor    jsinterp.py  options.py __pycache__  
swfinterp.py  utils.py    YoutubeDL.py
cache.py  downloader  __init__.py  __main__.py  postprocessor 
socks.py     update.py     version.py

I've been retired from python programming for 10 years now, and just 
tinker or write stuff for myself to

use on my own workstation, so I have obviously forgotten a lot (if you 
don't use it you lose it, right)

I hope that someone can help me correct this.

thanks

tim

Back to comp.lang.python | Previous | Next | Find similar


Thread

ModuleNotFoundError for youtube_dl Tim Johnson <thjmmj15@gmail.com> - 2024-12-09 14:59 -0900

csiph-web