I'm not seeing a ModuleNotFoundError error. Above, when i mentioned using sage -sh, I tried this only after your suggestion of
./sage -f zlib python2 python3 make failed. Running make distclean && make still gives me the pip-18.1 error and adding ./sage -f zlib python2 python3 && make gives me the pip-18.1 i error again. The relevant part of the install log seems to be: Package 'pip' is currently not installed No legacy uninstaller found for 'pip'; nothing to do /usr/local/src/sage/local/var/tmp/sage/build/pip-18.1/src /usr/local/src/sage/local/bin/python3: No module named pip The full log is below. Andrew On Tuesday, 19 February 2019 10:37:41 UTC+11, John H Palmieri wrote: > > On one of my machines running OS X Mojave, when I run 'make', the pip > installation fails, saying > > ModuleNotFoundError: No module named 'zlib' > > That's when the solution is > > ./sage -f zlib python2 python3 > make > > --- pip-18.1 install log -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.