Hi. This is up-to-date fresh EOS install. When trying to run glances which is installed by default I get:
Traceback (most recent call last):
File “/usr/bin/glances”, line 33, in
sys.exit(load_entry_point(‘Glances==3.2.4’, ‘console_scripts’, ‘glances’)())
File “/usr/lib/python3.9/site-packages/glances/init.py”, line 150, in main
start(config=core.get_config(), args= core.get_args())
File “/usr/lib/python3.9/site-packages/glances/init.py”, line 96, in start
from glances.standalone import GlancesStandalone as GlancesMode
File “/usr/lib/python3.9/site-packages/glances/standalone.py”, line 34, in
from glances.outdated import Outdated
File “/usr/lib/python3.9/site-packages/glances/outdated.py”, line 23, in
from packaging.version import Version
ModuleNotFoundError: No module named ‘packaging’
When I run glances in my Tilix terminal on Gnome 41.1:
So, unfortunately I am not able to reproduce your issue. My apologizes this post isn’t super helpful. You may wait for others in this EndeavourOS community to offer their assistance here, but in the meantime I would also suggest visiting Glance’s Github page and see if your issue has possibly already been reported. If not, I would consider making a bug report on their issue tracker so the developers are aware of an issue. Side note, glances is very useful, I typically use htop since I’m accustomed to it, but glances is very useful indeed and I’m happy to have it installed on my system. Hopefully you can get it working again soon on your system.
Feel free to visit their Github here:
Edit: I assumed you’re using glances from the Community Arch repos. That’s what I am using at least. But if you need to use glances before this issue can be resolved, there is a snap package you could test, if you are so inclined of course.
Yes, indeed. I marked it as solution. After installing python-packaging it works. Still wonder why it was missing cause glances comes with default EOS installation. Shoud it be added to the ISO or it was program specific issue?
Caused by upstream packaging changes.
And somehow packaging for glances was and is not fully fetching all needed dependency packages per default.
And yes I do add python-packaging to install lists already.
Everyone should simply install the new dependency to be able to use glances: sudo pacman -S python-packaging
Installs with last release from 27.08.2021 will install without this package, and will need to install it manually.
With the new Release coming out on 3.12. older releases will be obsolete and not supported anymore, also the will work for installations in most cases.
Caused by massive changes to the code structure on development we have to stop support for fixing all older releases.
I can’t wait for tomorrow release notes because I see there that it looks like pipewire will come as default with new release!
I don’t wanna start another discussion here about tomorrow release, but I’m hundred percent sure that this part will bring a lot of questions. Questions which I already often see in Reddit about need or not to fresh install after new EOS release. As we know this is “Arch” system so simple -Syu will always bring us to current with already installed packages but will not change “defaults”. If You don’t mind just please clarify this with release notes or somewhere because it will bring questions like: 1. Do I need to fresh install with new ISO? 2. Are there any disadvantages to rolling with current installation? In the Arch’s perspective of course not, but how about our little “Endeavour” repo? 3. Are there any real benefits to make fresh install with new ISO? etc.
In general, you don’t need to do a fresh install. There is always a way to change things like going from pulseaudio to pipewire is already documented in the EndeavourOS wiki. One of the few reasons you would consider doing a fresh install is in regards to changing your filesystem, e.g. going from Ext4 to Btrfs is simply easier to do on a fresh install.
It only says that we will not go to fix issues coming up when using older release, i tested it and the last release is still fully working, but as we can not fix package change issues and configurations it will p.e. not include the changed dependency for glances, and will use the default theme for sddm for plasma installs.
So nothing that will not be easy to fix after installation.
And this is rolling release, changes all the time it is the case that the safe way is always to use latest release only.
You can provide the information over and over, it won’t protect you from simply not reading the information.
But we do have the hint in release notes for every release already:
On a rolling release it is never needed to reinstall with a new ISO release, as the ISO is only to install the OS. There is no relation between ISO updates and installed OS package updates.