Support bootstrap installations with pip install --user
See original GitHub issueUser story: I am an experienced GNU/Linux developer. I only install non-distro packages with installers I trust, so that I reduce the risk of running malicious code. For example, I use pip install --user
and to install non-Debian Python packages from PyPI.
Problem: Thus, I don’t want to run curl https://raw.githubusercontent.com... | python3
to install pipx.
Suggested solution 1:
A PyPI package called pipx-bootstrap
that functions as follows:
pip install --user pipx-bootstrap
pipx-bootstrap # installs pipx-app from PyPI into correct location
pip uninstall pipx-bootstrap
pipx upgrade pipx-app # should work
Suggested solution 2:
Instructions on how to use pip to install pipx-app into the correct location, so that pipx upgrade pipx-app
works thereafter.
Suggested solution 3:
Upstream packaging 😄
apt install python-pipx # installs system version (you can stop here if you only trust distro for system tools)
pipx install pipx-app # install local user version
pipx upgrade pipx-app # upgrades local user version
Issue Analytics
- State:
- Created 5 years ago
- Comments:8
Top Results From Across the Web
PEP 439 – Inclusion of implicit pip bootstrap in Python ...
This PEP proposes the inclusion of a pip bootstrap executable in the Python installation to simplify the use of 3rd-party modules by Python ......
Read more >Python bootstrapping the pip installer - Tutorialspoint
The ensurepip module provides support for bootstrapping pip in existing installation of Python. Normally user doesn't need to use it ...
Read more >How to bootstrap installation of Python modules on Amazon ...
The most straightforward way would be to create a bash script containing your installation commands, copy it to S3, and set a bootstrap...
Read more >Installation - pip documentation v22.3.1
Download the script, from https://bootstrap.pypa.io/get-pip.py. Open a terminal/command prompt, cd to the folder containing the get-pip.py file ...
Read more >How to Install Pip on Windows - ActiveState
Pip is the standard package manager for Python. It enables the installation and management of third party packages that provide features and ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI pipx-app is currently available in Debian testing as “python-pipx” https://packages.debian.org/source/buster/python-pipx 🎉
A new package called
pipx-bootstrap
has been published to PyPI and installation instructions in pipx have been updated.https://github.com/cs01/pipx-bootstrap https://pypi.org/project/pipx-bootstrap/