Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #268: Neutrino overload on the nameserver


comp / comp.lang.python / ModuleNotFoundError for youtube_dl

SubjectAuthor
o ModuleNotFoundError for youtube_dlTim Johnson

1
Subject: ModuleNotFoundError for youtube_dl
From: Tim Johnson
Newsgroups: comp.lang.python
Date: Mon, 9 Dec 2024 23:59 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: thjmmj15@gmail.com (Tim Johnson)
Newsgroups: comp.lang.python
Subject: ModuleNotFoundError for youtube_dl
Date: Mon, 9 Dec 2024 14:59:49 -0900
Lines: 35
Message-ID: <mailman.13.1733788795.2965.python-list@python.org>
References: <52495180-0498-4819-9baf-8e6a0717a26d@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de OKtNzUEEgn3n1KwQU1q+fgZG9AVFvu3J/8FSFrsHh0PA==
Cancel-Lock: sha1:FLnfyktnVtm7WW3nnM2LIkbP8r0= sha256:spV+7PdklKel2OrMNSjFEchJirk2yrG3c9Qc9MxdkUM=
Return-Path: <thjmmj15@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=Ghsblyos;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.101
X-Spam-Level: *
X-Spam-Evidence: '*H*': 0.80; '*S*': 0.00; 'obviously': 0.09;
'ubuntu': 0.09; 'import': 0.15; '8bit%:47': 0.16; 'refresh': 0.16;
'skip:/ 80': 0.16; 'skip:s 100': 0.16; 'skip:t 80': 0.16;
'python': 0.16; 'message-id:@gmail.com': 0.18; 'to:addr:python-
list': 0.20; "i've": 0.22; 'skip:_ 10': 0.22; 'code': 0.23;
'stuff': 0.25; 'programming': 0.25; 'tim': 0.26; 'recently': 0.29;
'it,': 0.29; 'header:User-Agent:1': 0.30; 'received:192.168.1':
0.32; 'subject:for': 0.32; 'received:google.com': 0.34;
'from:addr:gmail.com': 0.34; '8bit%:40': 0.35; 'someone': 0.35;
'following': 0.35; 'this.': 0.35; 'received:192.168': 0.37;
'8bit%:14': 0.38; 'thanks': 0.39; 'use': 0.39; 'changes': 0.39;
'skip:o 10': 0.61; 'skip:* 20': 0.62; 'years': 0.65; 'now,': 0.67;
'navigating': 0.69; '8bit%:43': 0.70; 'relevant': 0.73;
'8bit%:31': 0.73; '*for': 0.84; 'forgotten': 0.84; 'lose': 0.84;
'subject:skip:M 10': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1733788791; x=1734393591; darn=python.org;
h=subject:from:to:content-language:user-agent:mime-version:date
:message-id:from:to:cc:subject:date:message-id:reply-to;
bh=O/ifInA7PqMr2uaQbRhO+H/Jrfol/KQQd549xnELnj4=;
b=GhsblyosjG1l8Qv3gJrMdPxvMRssr5nNcuehRvyJLwb81baq4nO16ENrCVLWQuJ6TY
xU/e7t5Van6fRADUUx00TgiV8dRsZ1WrmFyQAoAKBSV5v3NQe0ydTjvQhA6fLyh97NNg
YZAnMEfd5ZCy3WGdXvZGLsq65M7ihM1p3ZZdciuTd2diJLJn4NTXsu8ZwFPLonmw9Qps
Pf5koTg+tyULYEvBYJWq8g2GTopba6Ilz+bJs3fx7NbbHodlntxi65RYAJHF41wCy/UY
hB+hCTxhoECe5cqwsmZzpV92M+qiUd6swH9OjlHErh6oo9zdTpxLg/BEhRrRmWOCtEEp
9jhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1733788791; x=1734393591;
h=subject:from:to:content-language:user-agent:mime-version:date
:message-id:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=O/ifInA7PqMr2uaQbRhO+H/Jrfol/KQQd549xnELnj4=;
b=TF/dP+xfBSOhOW+ZaPcEOJ6X9os7JvMI3vukpC4Ru62EFUbGm2/8RKb4DUlegN6/jd
hUzI1/izO3zRKlM7nxEabrFoOHoU0tAApkkM+QMZ1pWRzIhOJiYHGbJ5d3QSiEW/U22i
9q6z5j0RzQ2g9/8hPvPk7KolxKJEbCpsAcp61885xopHw2OZ5oXC6UQEz7g0ls+sMKmd
HJJhXZaAH/V0YSisCEixM3h/QAbbXxqXqwsY0DJa4kJzZFuP4iQ2Y8Wd6WzFxTDhbpsN
aWtk15PxUr32SFluRtU7MdP0Yahk7V/s+6UM/yPy32cj+EMinrRqtwVLIbZQam0YJ5Fd
twDA==
X-Gm-Message-State: AOJu0Ywu1WbZpzB+HO+/YbhtfaBsHsG+ns/KoyxsjpgJfFRVzYGK8Fs1
Y/hf8b6BqwGnrureeC+HqZTRq2UMh3wFokTJkFiWkvdoVoaPu/XSvEiF57Qr
X-Gm-Gg: ASbGncvcDlh8qbeIE5Z8YE7zK8r69+ay7NPA4+DIKtFjzjbQ8xKg3PWlXzQmVCErvqM
b/v8klv+6quRhCnZpbKZF7Gv7HTqAcJstteC407ds7Dd8pqPFsPoZgzRP+wwnBgq0Dhiee3lD+/
mwEpOuzA2WYj+WKubyiW3gM8vKXve2beYR9nuf64aV0E/7TrGSdrm5oue8MR9nzo3oJ/DBqTKkf
jWJZi+eeaIp7t9gPlkDcS1s07ISHznpIgMVz1V+HUWPGef6Qa/MRPxbw5eEMyVfQ356jlWSTQ==
X-Google-Smtp-Source: AGHT+IHS8R/Os5tbMF1DcFwSlw9SzpwPzxG+NB9Qexw6oPZDErlT0wDxwnKQdbUgJBQire3ex2LLYg==
X-Received: by 2002:a17:903:2349:b0:215:a039:738 with SMTP id
d9443c01a7336-21669f993a8mr38670335ad.5.1733788790908;
Mon, 09 Dec 2024 15:59:50 -0800 (PST)
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <52495180-0498-4819-9baf-8e6a0717a26d@gmail.com>
View all headers

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

1

rocksolid light 0.9.8
clearnet tor