pep 668以降abcdeでeyeD3を使用する方法

pep 668以降abcdeでeyeD3を使用する方法

pep 668以降、Debian 12でeyeD3とabcdeを使用する方法は?

abcdeを使用して出力を.abcde.conf。 abcdeでeyeD3が見つからずインストールしてみました。しかし、私が知っている限りは、pip3仮想pip環境を使用するか、インストールを介して使用するように指示します。ただし、apt install python3-eyed3インストール後もpython3-eyed3パスが見つかりません。

# apt install python3-eyed3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-eyed3 is already the newest version (0.9.7-1).

pip eyeD3をインストールしようとしました。 pip3は同じ結果を提供します。

# pip install eyeD3 
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.11/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
$ abcde
[ERROR] abcde: eyeD3 is not in your path.
[INFO] Define the full path to the executable if it exists on your system.
[INFO] Hint: sudo apt-get install 
~$ cat /etc/debian_version 
12.5

私は見たことがない668号そしてeyeD3 インストール文書。インセンティブの変更が発生する理由は理解していますが、これについてどうすればよいかわかりません。

ベストアンサー1

質問にPythonを使用する理由がわかりません。abcdePythonは使用されていないため、インストールしてもpython3-eyed3エラーは解決されません[ERROR] abcde: eyeD3 is not in your path

eyed3パッケージ()をインストールし、それを使用してエラーを解決できることをapt install eyed3確認する必要があります。PATH

おすすめ記事