![]() Install the python-pip package to use pip itself. Python modules For the system python are usually handled by dpkg and apt-get. ![]() Running the command python2 -m ensurepip -upgrade within Python 2 results in the following warning from Python’s part: ensurepip is disabled in Debian/Ubuntu for the system python. However the following packages replace it:Į: Package 'python-pip' has no installation candidate This may mean that the package is missing, has been obsoleted, or The most popular Python package manager, pip, used to be included in a typical Python install, but lately, its been excluded. python -m pip install SomePackage1.0.4 specific version python -m pip install 'SomePackage>1.0.4' minimum version Normally, if a suitable module is already installed, attempting to install it again will have no effect. Is there a way I can tweak Debian to get that package anyway? Here’s the warning message from APT: Package python-pip is not available, but is referred to by another package. I tried installing the python-pip package for Python 2 via the official Debian repos, but it is obsolete and no longer available. I have both Python 2.7.18 and Python 3.9.2 installed on my Debian GNU/Linux 11 (bullseye) x86_64 system.
0 Comments
Leave a Reply. |