yt-dlg
yt-dlg copied to clipboard
Cannot install yt-dlg through pip
- [x] I think my problem is NOT with youtube-dl or yt-dlp
- [ ] I've verified and i assure that I'm running yt-dlg 1.X.Y
- [x] I assure that i am using the latest version of yt-dlp
- [x] Searched bugtracker
- [x] I've read the FAQs file
What is the purpose of your issue?
- [x] Bug report
- [ ] Feature request (request for a new functionality)
- [ ] Question
- [ ] Other
Bug report
I'm trying to install yt-dlg from pypi, but it shows error. pip suggests the problem is with packaging. Error log below:
pip3 install yt-dlg
Defaulting to user installation because normal site-packages is not writeable
Collecting yt-dlg
Using cached yt_dlg-1.8.4-py3-none-any.whl (124 kB)
Collecting wxPython<=4.2.1a1,>=4.0.7.post2
Using cached wxPython-4.2.0.tar.gz (71.0 MB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [8 lines of output]
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "<pip-setuptools-caller>", line 34, in <module>
File "/tmp/pip-install-86cg32bx/wxpython_5fa21c90f23347229b5604350c8ef896/setup.py", line 27, in <module>
from buildtools.config import Config, msg, opj, runcmd, canGetSOName, getSOName
File "/tmp/pip-install-86cg32bx/wxpython_5fa21c90f23347229b5604350c8ef896/buildtools/config.py", line 30, in <module>
from attrdict import AttrDict
ModuleNotFoundError: No module named 'attrdict'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
What operating system do you use ?
Fedora 36 KDE Plasma desktop
List of actions to perform to reproduce the problem:
- Run pip3 install yt-dlg
- Error shows
What is the expected behaviour ?
pip should install yt-dlg without any problems
What happens instead ?
yt-dlg fails to get installed.