Giter Club home page Giter Club logo

Comments (3)

soulvoid86 avatar soulvoid86 commented on May 13, 2024

I want to add I just created a fresh VM, Windows Server 2019 Standard just the same as this live system above, and the same issue persists. Nothing custom or special about the OS. It's just the standard eval ISO directly from Microsoft.

from glances.

nicolargo avatar nicolargo commented on May 13, 2024

How do you install Glances ?

The ujson dependency is not installed:

File "C:\Program Files\Python310\lib\site-packages\glances\globals.py", line 16, in
import ujson
ImportError: DLL load failed while importing ujson: The specified module could not be found.

from glances.

soulvoid86 avatar soulvoid86 commented on May 13, 2024

ujson is installed though.. I installed Glances per the guidelines using "pip install glances". I have Glances running on 6 other machines and have been using it for a few years now.

Yes, I've also tried updating pip as the warning states below too, no change.

As I stated above, I even went through and version matched every package and installed them manually based on a working system. Same issue both on an existing machine and a freshly build VM, but the machines with Glances installed a long time ago still work fine.

I've also tried Python versions 3.4.0, 3.10.1, 3.12.3, same issue with all 3 versions across multiple machines.

C:\Users\Administrator>pip list
Package Version


bottle 0.12.25
defusedxml 0.7.1
future 1.0.0
Glances 3.4.0.5
packaging 24.0
pip 21.2.4
psutil 5.9.8
pyparsing 3.1.2
python-dateutil 2.9.0.post0
setuptools 58.1.0
six 1.16.0
ujson 5.9.0
WARNING: You are using pip version 21.2.4; however, version 24.0 is available.
You should consider upgrading via the 'C:\Program Files\Python310\python.exe -m pip install --upgrade pip' command.

C:\Users\Administrator>glances -w
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 196, in _run_module_as_main
return run_code(code, main_globals, None,
File "C:\Program Files\Python310\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "C:\Program Files\Python310\Scripts\glances.exe_main
.py", line 4, in
File "C:\Program Files\Python310\lib\site-packages\glances_init
.py", line 35, in
from glances.compat import PY3
File "C:\Program Files\Python310\lib\site-packages\glances\compat.py", line 25, in
from glances.logger import logger
File "C:\Program Files\Python310\lib\site-packages\glances\logger.py", line 20, in
from glances.globals import safe_makedirs
File "C:\Program Files\Python310\lib\site-packages\glances\globals.py", line 16, in
import ujson
ImportError: DLL load failed while importing ujson: The specified module could not be found.

from glances.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.