Closed Bug 1232507 Opened 9 years ago Closed 2 years ago

Fail to run mach doctor on Windows

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: xidorn, Unassigned)

References

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: → 1235544
Product: Core → Firefox Build System
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.