Fail to run mach doctor on Windows

NEW
Unassigned

Status

()

Core
mach
2 years ago
2 years ago

People

(Reporter: xidorn, Unassigned)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

$ ./mach doctor
Error running mach:

    ['doctor']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.

You should consider filing a bug for this issue.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

ImportError: cannot import name _psutil_windows

  File "c:\mozilla-source\central\python/mozbuild/mozbuild/mach_commands.py", line 614, in doctor
    from mozbuild.doctor import Doctor
  File "c:\mozilla-source\central\build/mach_bootstrap.py", line 338, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "c:\mozilla-source\central\python/mozbuild\mozbuild\doctor.py", line 11, in <module>
    import psutil
  File "c:\mozilla-source\central\build/mach_bootstrap.py", line 338, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "c:\mozilla-source\central\python/psutil\psutil\__init__.py", line 110, in <module>
    from . import _pswindows as _psplatform
  File "c:\mozilla-source\central\build/mach_bootstrap.py", line 338, in __call__
    module = self._original_import(name, globals, locals, fromlist, level)
  File "c:\mozilla-source\central\python/psutil\psutil\_pswindows.py", line 16, in <module>
    from . import _psutil_windows as cext


Note this still exists even if I manually install psutil via pip.
Depends on: 1233251
See Also: → bug 1235544
You need to log in before you can comment on or make changes to this bug.