./mach doc fails with ModuleNotFoundError: No module named 'pipenv'
Categories
(Developer Infrastructure :: Source Documentation, defect)
Tracking
(Not tracked)
People
(Reporter: standard8, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
(deleted),
text/plain
|
Details |
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
Comment 1•5 years ago
|
||
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.
Comment 2•5 years ago
|
||
Can you try to test with this patch?
https://phabricator.services.mozilla.com/D57668
Comment 3•5 years ago
|
||
and/or try to remove obj-*/_virtualenvs/
Comment 4•5 years ago
|
||
I think this is the first mach command to use both Python 3 and Pipenv.
Comment 5•5 years ago
|
||
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.
Reporter | ||
Comment 6•5 years ago
|
||
(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.
Reporter | ||
Comment 7•5 years ago
|
||
Bug 1607470 fixed this, thank you Axel.
Updated•5 years ago
|
Updated•2 years ago
|
Description
•