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.
On 12/9/24 14:59, Tim Johnson wrote:
I should not have appended 'youtube_dl' to the path. I used the content
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.
from /home/tim/.local/share/pipx/shared/lib/python3.12/site-packages/pipx_shared.pth
("/home/tim/.local/share/pipx/shared/lib/python3.12/site-packages") and added that to /usr/lib/python3.12/sitecustomize.py as appended to sys.path
and it appears to be solved.
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,064 |
Nodes: | 10 (0 / 10) |
Uptime: | 148:01:30 |
Calls: | 13,691 |
Calls today: | 1 |
Files: | 186,936 |
D/L today: |
33 files (6,120K bytes) |
Messages: | 2,410,931 |