-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
Description
Description
Hyfetch is unable to run on Windows 10
Currently installed version of Python is 3.10.4
Release 1.4.0
Installed using pip
Powershell & Command Prompt:
Setup functions as expected, until you select a brightness, upon which you will be met with the following error:
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:\Users\f191\AppData\Roaming\Python\Python310\Scripts\hyfetch.exe\__main__.py", line 7, in <module>
File "C:\Users\f191\AppData\Roaming\Python\Python310\site-packages\hyfetch\main.py", line 299, in run
config = check_config()
File "C:\Users\f191\AppData\Roaming\Python\Python310\site-packages\hyfetch\main.py", line 33, in check_config
return create_config()
File "C:\Users\f191\AppData\Roaming\Python\Python310\site-packages\hyfetch\main.py", line 199, in create_config
asc = get_distro_ascii()
File "C:\Users\f191\AppData\Roaming\Python\Python310\site-packages\hyfetch\neofetch_util.py", line 150, in get_distro_ascii
return normalize_ascii(check_output([get_command_path(), cmd]).decode().strip())
File "C:\Program Files\Python310\lib\subprocess.py", line 420, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "C:\Program Files\Python310\lib\subprocess.py", line 501, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Program Files\Python310\lib\subprocess.py", line 966, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Program Files\Python310\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 193] %1 is not a valid Win32 application
MINGw64 (Git Bash):
Colours entirely broken, ends in same error as before
Ver. 67915c3
Cloned from GH
Moving to the dir and using python -m hyfetch
Powershell, Command Prompt, MINGw64 (Git Bash):
Traceback (most recent call last):
File "C:\Program Files\Python310\lib\runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Program Files\Python310\lib\runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\Program Files\Python310\lib\runpy.py", line 110, in _get_module_details
__import__(pkg_name)
File "C:\Users\f191\Desktop\hyfetch\hyfetch\__init__.py", line 3, in <module>
from . import main, constants
File "C:\Users\f191\Desktop\hyfetch\hyfetch\main.py", line 14, in <module>
from .models import Config
File "C:\Users\f191\Desktop\hyfetch\hyfetch\models.py", line 9, in <module>
from .neofetch_util import ColorAlignment
File "C:\Users\f191\Desktop\hyfetch\hyfetch\neofetch_util.py", line 17, in <module>
import psutil
ModuleNotFoundError: No module named 'psutil'