glances 3.4.0.3_0: ModuleNotFoundError: No module named 'ujson'
xxxxxx@xxxxxxx ~ % glances
Password:
Traceback (most recent call last):
File "/opt/local/bin/glances", line 5, in <module>
from glances import main
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/glances/__init__.py", line 35, in <module>
from glances.compat import PY3
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/glances/compat.py", line 25, in <module>
from glances.logger import logger
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/glances/logger.py", line 20, in <module>
from glances.globals import safe_makedirs
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/glances/globals.py", line 16, in <module>
import ujson
ModuleNotFoundError: No module named 'ujson'
xxxxxx@xxxxxxx ~ %
Change History (5)
Cc: |
barracuda156 added
|
Description: |
modified (diff)
|
Summary: |
Glances won't run after upgrade from 3.1.7_0 to 3.4.0.3_0 →
glances 3.4.0.3_0: ModuleNotFoundError: No module named 'ujson'
|
Owner: |
set to barracuda156
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
The
py311-defusedxml module
is also missing. See below: