Open lanagkazo opened 4 years ago
I ran into this issue as well. that package is no longer available. I think the install script will need to use pip3 instead. I'll look over the install script at some point in the next few days and see if I can fix it.
fix -
remove python-pip from list of packages it tries to install in scripts.
Make sure you have pip installed https://linuxize.com/post/how-to-install-pip-on-ubuntu-20.04/
cd /opt/mhn/
sed -i 's/python-pip//g' install.sh
cd scripts
sed -i 's/python-pip//g' *.sh
The next issue though is that there is no mongo script for Ubuntu 20 so it stops there.
Next, edit the install_mongo.sh script to use install_mongodb_ub18.sh for ubuntu version 20.04, adding this under the elif statement for 18.04:
elif [ "$(lsb_release -r -s)" == "20.04" ]; then
./install_mongodb_ub18.sh
Then you should be able to run the install from start to finish.
I also did this in order to resolve some python2 errors for 20.04 sudo apt purge libpython2*
sudo apt install python
I got one local running this
Hello, Please i need your help. Realy Struggling to install MHN on Ubuntu 20.04 TLS
Atteint :2 http://fr.archive.ubuntu.com/ubuntu focal InRelease
Atteint :3 http://fr.archive.ubuntu.com/ubuntu focal-updates InRelease Atteint :4 http://fr.archive.ubuntu.com/ubuntu focal-backports InRelease Lecture des listes de paquets... Fait
Lecture des informations d'état... Fait Note : sélection de « python-dev-is-python2 » au lieu de « python-dev » E: Impossible de trouver le paquet python-pip root@ubuntu-server:/opt/mhn#