-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note pip is required for install + build should note failure if pip is missing #2894
Comments
So it's still an issue that you don't always get pip with python, but in my case it seems to be conda idiocy:
|
can you edit your install script to add these lines at line 103, and then rerun the installer? It should now install and update pip for you. If that fixes your issue, I'll make a PR. ATM these lines are run in the Dockerfile but not in the installer script. # Ensure pip is installed and up to date
# --------------------------------------
log "Checking for pip and updating if necessary"
python -m ensurepip --upgrade && python -m pip install --upgrade pip setuptools wheel 2>&1 | tee -a "${logfile}"
...although if you don't have python in your conda environment, this addition isn't going to help much! |
I switched to pipenv vs. conda which seems to have worked. The only drawback is that the Pipfile isn't updated |
Apparently even this module being present isn't guaranteed. I vaguely remember reading about what amounts to a holy war between distro package maintainers and pipites - the maintainers thought, IIRC, that all SW installs, including for software development, should go through the distro package system, and thus pip, npm, etc. were anathema to them. Hence in some cases the ensurepip module is removed from the python package. |
Not all python installs come with pip, including the deadsnakes ppa.
The text was updated successfully, but these errors were encountered: