More comprehensive way to install PIP?
weiss-d opened this issue · 3 comments
Hi everyone!
Turned out this line will not work in recent versions of Ubuntu (and maybe many other distros), because their system's Python doesn't have the ensurepip
module. Ubuntu users are forced to install pip
by this command: sudo apt-get install python3-pip
.
Line 450 in a3b1bdf
The possible solution is to use this script whenever Python says "No module named ensurepip". But it may interfere with the way PIP is meant to be installed by the developers of a particular distro.
What do you say to that?
One option would be to open a shell for the user to install pip if this command does not work, then continue when the shell exits
Hello,
From this answers:
Python 3.4+ and Python 2.7.9+
Good news! Python 3.4 (released March 2014) ships with Pip. This is the best feature of any Python release. It makes the community's wealth of libraries accessible to everyone. Newbies are no longer excluded by the prohibitive difficulty of setup. In shipping with a package manager, Python joins Ruby, Nodejs, Haskell, Perl, Go--almost every other contemporary language with a majority open-source community. Thank you Python.
Because pip
only need to be manually install with Python ≤ 2.7.8 and Python ≤ 3.3, for now i will using this as a solution:
Line 70 in 4f4aac3
Line 441 in 4f4aac3
Later on i will try to add a sbb_install_curl
function to download and use get-pip.py as @weiss-d suggested.
Done in SBB 2.1.0 update!