[MacPorts] #68211: glances 3.4.0.3_0: ModuleNotFoundError: No module named 'ujson' (was: Glances won't run after upgrade from 3.1.7_0 to 3.4.0.3_0)
MacPorts
noreply at macports.org
Thu Sep 21 08:38:59 UTC 2023
#68211: glances 3.4.0.3_0: ModuleNotFoundError: No module named 'ujson'
-------------------------------+--------------------
Reporter: brianallenlevine | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: glances |
-------------------------------+--------------------
Changes (by ryandesign):
* cc: barracuda156 (added)
Old description:
> xxxxxx at 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 at xxxxxxx ~ %
New description:
{{{
xxxxxx at 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 at xxxxxxx ~ %
}}}
--
--
Ticket URL: <https://trac.macports.org/ticket/68211#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list