Hallo, irgendwie habe ich auf meinem leap 15.4 ein Python Chaos, oder ich verstehe es nicht. Installiert ist python|package|2.7.18-150000.57.1|x86_64|Online updates for openSUSE Leap 15.4 (SLE) python3| package|3.6.15-150300.10.51.1| x86_64|Online updates for openSUSE Leap 15.4 (SLE) python310| package|3.10.13-150400.4.36.1|x86_64|Online updates for openSUSE Leap 15.4 (SLE) python311| package|3.11.5-150400.9.20.1|x86_64|Online updates for openSUSE Leap 15.4 (SLE mit den entsprechend vielen python-packages. Ich kann jetzt im Einzelnen nicht mehr nachvollziehen aus welchen Anlass die Programme, durch welches Paket angefordert wurden. Gebe ich auf einer Konsole python3 --version ein, erscheint: Python 3.6.15 Will ich z.B. mit yt-dlp nun ein mp3 aus youtube graben yt-dlp -x --audio-format mp3 --audio-quality 0 "https://youtu.be/yjxNZH0qIe0" erhalte ich Traceback (most recent call last): File "/usr/lib64/python3.11/importlib/metadata/__init__.py", line 563, in from_name return next(cls.discover(name=name)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ StopIteration During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/yt-dlp", line 33, in <module> sys.exit(load_entry_point('yt-dlp==2023.10.13', 'console_scripts', 'yt-dlp')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/yt-dlp", line 22, in importlib_load_entry_point for entry_point in distribution(dist_name).entry_points ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/metadata/__init__.py", line 981, in distribution return Distribution.from_name(distribution_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/importlib/metadata/__init__.py", line 565, in from_name raise PackageNotFoundError(name) importlib.metadata.PackageNotFoundError: No package metadata was found for yt-dlp Bin da in der Pyhton-Philosophie nicht drin um das zu durchdringen. Was müsste ich tun, damit yt-dlp wieder das tut, was soll? Gruß Herbert
Am Sonntag, 29. Oktober 2023, 19:47:41 CET schrieb Martin Schröder:
S | Name | Type | Version | Arch | Repository ---+------------------------+---------+--------------------------+--------+----------------------- i+ | python3-yt-dlp | package | 2023.10.13-lp154.78.1 | noarch | (System Packages) i+ | yt-dlp | package | 2023.10.13-150400.5.pm.1 | noarch | Packman Repository i | yt-dlp-bash-completion | package | 2021.12.27-bp154.1.20 | noarch | openSUSE- Leap-15.4-Oss i | yt-dlp-fish-completion | package | 2021.12.27-bp154.1.20 | noarch | openSUSE- Leap-15.4-Oss i | yt-dlp-zsh-completion | package | 2021.12.27-bp154.1.20 | noarch | openSUSE- Leap-15.4-Oss Note: For an extended search including not yet activated remote resources please use 'zypper search-packages'.
Am Sonntag, 29. Oktober 2023, 19:54:54 CET schrieb Herbert Albert:
Di Meldung: please use 'zypper search-packages' hat mir dies geliefert. *~ #* zypper search-packages -si yt-dlp flag provided but not defined: -si Could not parse the options: flag provided but not defined: -si Could not search for the package: Error: Registration server returned 'base product not found' (404)Cannot read index for repository LibreOffice_7.3. Cannot read index for repository SoftMaker_Office_Repository. Cannot read index for repository napobear. Following packages were found in following modules: Package Module or Repository SUSEConnect Activation Command ---------------------- --------------------------------------- python3-yt-dlp Installed yt-dlp Installed yt-dlp-bash-completion Installed yt-dlp-fish-completion Installed yt-dlp-zsh-completion Installed yt-dlp-bash-completion Available in repo packman.inode.at-suse yt-dlp Available in repo packman.inode.at-suse yt-dlp-fish-completion Available in repo packman.inode.at-suse yt-dlp-zsh-completion Available in repo packman.inode.at-suse python311-yt-dlp Available in repo packman.inode.at-suse srcpackage:yt-dlp Available in repo packman.inode.at-suse yt-dlp Available in repo repo-oss yt-dlp-bash-completion Available in repo repo-oss yt-dlp-fish-completion Available in repo repo-oss yt-dlp-zsh-completion Available in repo repo-oss To activate the respective module or product, use SUSEConnect --product. Use SUSEConnect --help for more details. Nach dem ich nun alle yt-dlp* auf packman gestellt habe und noch python311-yt-dlp nachgezogen habe, funktioniert es wieder. Gruß Herbert
participants (2)
-
Herbert Albert
-
Martin Schröder