I don't see why they disable pip rather than modifying pip to check the debian repos first and then falling back on actual pip when the package is not found in debian. Module, so use it on your own risk, or make sure to only use it in virtualĮ: Unable to locate package python-pip results from sudo apt-get install python-pip as directed by the error message With the system python might have unexpected results for any system installed Install the python-pip package to use pip itself. Python modules For the system python are usually handled by dpkg and apt-get. (The output of python -m ensurepip is below:) $ python -m ensurepipĮnsurepip is disabled in Debian/Ubuntu for the system python. Do we need to be resort to manual installation from source now? Or is there a Debian-style way of installing pip packages on Debian that don't have corresponding Debian packages? So it seems the "super-cow" powers of apt are backfiring here making it more difficult rather than easier to install packages. Sudo apt-get install python-pip3 does get pip3 which fails when used to find trac, a python2 package, so I'm not looking for pip3, just pip for python2. Sudo apt-get install python-pip doesn not find pip (again, they disabled it, so what is the ALTERNATIVE to pip that they want us to use) Sudo apt-git install python-trac which fails because there is no such package. Python -m ensurepip that is supposed to do the same thing but instead advises you to try something like: Sudo apt-git install pip no longer finds pip, but python has the command: Sudo apt-get install trac no longer finds trac.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |