Skip to content

how do i install plugins on beets if i installed thru apt? #5694

Answered by halloleo
negativeten asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not an expert of apt and how it installs Python apps. I assume it creates an virtual environment for the app.

Then one thing you can do is 1. find out where this virtual environment is and 2. run pip in this virtual environment.

  1. Run

    head $(which beet)
    

    Look at the first line of output it should contain something like:

     #!/some/path/to/apts/venvs/beets/bin/python
    

    The virtual environment then is at /some/path/to/apts/venvs/beets. (You need to replace /some/path/to/apts/venvs/ with the analog part of the path in your beet loader script!)

  2. Now you can run pip in this virtual environment with

     /some/path/to/apts/venvs/beets/bin/python -m pip
    

    To install your 3rd party plugin you might …

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@pprjack
Comment options

@snejus
Comment options

@pprjack
Comment options

@JOJ0
Comment options

JOJ0 Jun 23, 2025
Maintainer

@JOJ0
Comment options

JOJ0 Jun 23, 2025
Maintainer

Answer selected by negativeten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants