Closed Bug 1607484 Opened 5 years ago Closed 5 years ago

./mach doc fails with ModuleNotFoundError: No module named 'pipenv'

Categories

(Developer Infrastructure :: Source Documentation, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1607470

People

(Reporter: standard8, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Attached file Failure log (deleted) —

I've been trying to run ./mach doc and been getting the failure:

ModuleNotFoundError: No module named 'pipenv'

See the attached file for the full log.

My python versions are 2.7.17 and 3.7.5

Not sure why this is happening, but just want to note that I'd like to stop using pipenv in mozilla-central. So one possible fix here is to re-write mach doc to not depend on it (though only if an easier fix doesn't present itself).

Also noting that I can't reproduce this on my system.

and/or try to remove obj-*/_virtualenvs/

I think this is the first mach command to use both Python 3 and Pipenv.

This and bug 1607470 are DUPEs, from what I can tell.

I drilled it down to the invocation of pip picking up the wrong python interpreter.

(In reply to Sylvestre Ledru [:Sylvestre] from comment #3)

and/or try to remove obj-*/_virtualenvs/

I've already done that.

(In reply to Sylvestre Ledru [:Sylvestre] from comment #2)

Can you try to test with this patch?
https://phabricator.services.mozilla.com/D57668

I still get the same result.

Bug 1607470 fixed this, thank you Axel.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
Has Regression Range: --- → yes
Keywords: regression
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: