Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing on Ubuntu desktop 24.04 #31

Open
justatroublemaker opened this issue Jan 20, 2025 · 1 comment
Open

Installing on Ubuntu desktop 24.04 #31

justatroublemaker opened this issue Jan 20, 2025 · 1 comment
Assignees
Labels
(L7) Question General information

Comments

@justatroublemaker
Copy link

administrator@Pi-Hole:~/slm$ sudo ./slm.sh install
WARNING: Installing will overwrite any existing installation and user files.
Do you wish to continue? (Y/N): y
Beginning installation...
Process slm is not running.
Downloading Streaming Library Manager files...
Extracting Streaming Library Manager files...
Building Streaming Library Manager executable...
error: externally-managed-environment

Apparently this is due to a recent change to Ubuntu, any easy way to get around it? Already running pi-hole, plex, along with cdvr on this machine.

@babsonnexus babsonnexus added the (L7) Question General information label Jan 20, 2025
@babsonnexus babsonnexus self-assigned this Jan 20, 2025
@babsonnexus
Copy link
Owner

Sounds like pip is being blocked by your external package manager. My first recommendation is get Docker installed and go down that route so you won't have any issues. But if you want to continue down the Linux path, here's some ideas where to start:

https://stackoverflow.com/questions/75608323/how-do-i-solve-error-externally-managed-environment-every-time-i-use-pip-3

https://builtin.com/articles/error-externally-managed-environment

Some of these may require modifying the installer. Specifically, this line right here:

Image

You'd have to make it:

$PIP_CMD install -r requirements.txt --break-system-packages

All the warnings you'll read in those links about using this method still apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(L7) Question General information
Projects
None yet
Development

No branches or pull requests

2 participants