-
Notifications
You must be signed in to change notification settings - Fork 155
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
Dependency error on Ubuntu22/python3.10 #372
Comments
Same issue Ubuntu 22.04 server and skipped Completely fresh install of ubuntu and LXD, specifically for testing LXD dashboards |
Affects me too, on Ubuntu 22.04. |
Don't use this in a production enviroment. The owner should mark this as a dead project if they don't want to support it for free. No shame in that, but make it clear whats to be expected. |
Hi Everyone! I have made requirements.txt with correct dependencies for python 3.10
|
I found I could not get it to work with the requirements.txt suggested by timonych. That's more an indication of my failure to understand how this is supposed to work than anything else. Just in case anybody stumbles across this conversation, I did finally find a way to get lxdui to work. As was mentioned by PeerCohere above, the "AdaptiveScale" version (this repo) is not maintained. However, https://github.com/gr8linux/lxdui/tree/master is (at least as recently as Jan 2023). So I threw away my checkout of lxdui (just to make sure I started "clean") and checked out that version instead. Suffice to say that didn't work (to my frustration); which wasn't an issue with gr8linux' version, but rather my messed-up python environment. After some digging, I found that uninstalling all packages I'd previously installed in my attempts to get lxdui to work (from various repos as well as my own stumbling around) was the way to go; that way I was able to install lxdui (from the gr8linux repo) with all the correct dependencies and it works. I took the requirements.txt from gr8linux and created a file (pkg.txt) with just the package names, and used "pip3 uninstall" to get rid of all those:
Then, for good measure I did the same with the packages that timonych had suggested. Then I ran I have to say I did try the virtualenv first (which worked, and led me to believe I could also make this work outside of the venv). Now that I have it installed with sudo, I can actually install lxdui.service and have this run normally with my systems. YMMV; this worked for me but may not for others. I did spend a few hours beating my head against the wall trying to get this sorted to my liking. Python 3.10.6 on Ubuntu 22.04.2. |
Tagging #379 as it is the same issue. |
Steps to reproduce:
Here's pip freeze -
The text was updated successfully, but these errors were encountered: