Skip to content
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

Error: Python-pip has no installation candidate #862

Open
vsingh00 opened this issue Aug 7, 2023 · 2 comments
Open

Error: Python-pip has no installation candidate #862

vsingh00 opened this issue Aug 7, 2023 · 2 comments

Comments

@vsingh00
Copy link

vsingh00 commented Aug 7, 2023

When i try to run ./install cmd for installing MHN.. i got this error
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
python3-pip

E: Package 'python-pip' has no installation candidate

@jeffrey4512
Copy link

run it on Ubuntu 16.04 or 18.04 releases since python-pip is no longer available in newer version.

@wrharding
Copy link
Collaborator

I can reproduce this on Ubuntu 20.04 and above.

...
...
Package python-pip is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  python3-pip

E: Package 'python-pip' has no installation candidate
root@mhn-deployment-2004:/opt/mhn#

For what it's worth, I switched to python3-pip in my fork of MHN and haven't noticed any issues... yet. The install scripts can be altered to forcefully install Python 2/pip for Python 2 on newer versions of Ubuntu. That will have to come as time allows. PR's are welcome and encouraged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@wrharding @jeffrey4512 @vsingh00 and others