Issue? Not Sure

162 views
Skip to first unread message

Francois de Jager

unread,
Oct 6, 2021, 5:40:02 AM10/6/21
to codename-taurus
Greetings not sure if the issue is with Python or bzt

OS: Windows
Python: 3.10
bzt 1.6 ?

bzt -h
gives:
bzt : Traceback (most recent call last):
At line:1 char:1
+ bzt -h
+ ~~~~~~
    + CategoryInfo          : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
    + FullyQualifiedErrorId : NativeCommandError
 
  File "d:\python\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "d:\python\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "D:\Python\Scripts\bzt.exe\__main__.py", line 4, in <module>
  File "d:\python\lib\site-packages\bzt\cli.py", line 37, in <module>
    from bzt.engine import Engine, Configuration, SETTINGS, EXEC
  File "d:\python\lib\site-packages\bzt\engine\__init__.py", line 2, in <module>
    from .engine import Engine
  File "d:\python\lib\site-packages\bzt\engine\engine.py", line 35, in <module>
    from bzt.utils import reraise, load_class, BetterDict, ensure_is_dict, dehumanize_time, is_windows, is_linux, temp_file
  File "d:\python\lib\site-packages\bzt\utils.py", line 58, in <module>
    import psutil
  File "d:\python\lib\site-packages\psutil\__init__.py", line 107, in <module>
    from . import _pswindows as _psplatform
  File "d:\python\lib\site-packages\psutil\_pswindows.py", line 35, in <module>
    from ._psutil_windows import ABOVE_NORMAL_PRIORITY_CLASS
ModuleNotFoundError: No module named 'psutil._psutil_windows'

Francois de Jager

unread,
Oct 6, 2021, 8:14:34 AM10/6/21
to codename-taurus
Greetings

Ok it is now working
Had to uninstall lxml and setuptools and do a re-install
Reply all
Reply to author
Forward
0 new messages