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
Windows Install Issues #2728
Comments
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. |
How do you install Glances ? The ujson dependency is not installed:
|
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 bottle 0.12.25 C:\Users\Administrator>glances -w |
Describe the bug
Unsure if this is a bug or a system issue.
I'm receiving the below DLL Load Error on a fresh install of Glances/Python. I've reinstalled v3.4, 3.10.1 and 3.12.3 of Python, following the install steps exactly as described. I have 4 other systems running Glances perfectly fine, all in the same windows environments as this VM. Not sure why I'm hitting the error below. I've uninstalled and reinstalled Python countless time, clearing all directories for Python including Program Files and Local AppData. I've installed all dependencies to their exact version manually based on what the other systems have installed, but I still hit this error. Unsure if it's this VM or a bug.
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.
To Reproduce
Steps to reproduce the behavior:
Simply following the basic Windows install.
Install Python v3.10.1 for all users>pip install glances
Expected behavior
Glances to install
Screenshots
If applicable, add screenshots to help explain your problem.
Environement (please complete the following information)
Unable to provide any of the below.
Additional context
Add any other context about the problem here.
You can also pastebin:
The text was updated successfully, but these errors were encountered: