-
Notifications
You must be signed in to change notification settings - Fork 35
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 24.04 ?? #59
Comments
Can do what it says: Option 1) add "--break-system-packages" Options 2) Use a virtual environment. I like pipenv for virtual environments:
If you want to make it autostart on boot with systemd you can follow the instructions in the README but you this for indiwebmanager.service instead: Make sure to switch out {user} for your username in the two places it is below.
|
@bluthen - Excellent. Thank-you for that. I was dubious as to whether I should just "break-system-packages" or not so I held off on that. It sounds ominous to an end user with limited experience. I followed the instructions using pipenv and it works perfectly. Thank-you very much. My SQM is now available and connects. Thanks again :-) |
Hi, ✔ Successfully created virtual environment!
gilles@ubn2404:~/indiweb$ pipenv run indi-web -v Any ideas ? |
It looks like indi-web doesn't pin it dependency versions. And a new version of bottle (0.13.x) came out recently(days ago) that triggered this issue. For a quick workaround from where you left off:
|
that's exactly the issue I was having, thank you for the tip about the version of bottle |
I'm afraid this still doesn't fix the incompatibility issues. May I open a new issue with this? This is what I get when starting indi-web: Bottle v0.12.25 server starting up (using WSGIRefServer())... 192.168.1.105 - - [14/Sep/2024 16:09:35] "GET / HTTP/1.1" 200 39295 |
@guilleortas It isn't still usuable even with that error? Or are you specifically trying to use IndiHub? |
@bluthen your previous tip solved the problem for me. |
It seems to still be useable, so I'm calling it good enough |
For this environment: This patch fixes that issue:
Bottle does not like absolute paths any more. Sorry, I have not ever submitted a PR to github. Thought this was safer. |
Sorry, let's try:
|
This fix worked for me with indi webmanager on Raspberry Pi Bookworm with latest Bottle. Thank you! |
Hello
Wondering if you can help me get this installed on Ubuntu 24.04 please ?
I'm basically an end user of Linux and can't figure this out. It's probably really easy for those who understand the inner workings of Linux but I'm struggling....
Following the instructions for installation worked fine on 22.04 but i believe there's been a change with pip since version 23.04 that means they no longer work. see below...
~$ sudo pip install indiweb
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.
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.
I'm not sure how to proceed here as I know nothing about virtual environments or python in general. Any help to get indiweb installed greatly appreciated.
:-)
The text was updated successfully, but these errors were encountered: