I'm on Scientific Linux 7 and have been trying to install QGIS. According to the instructions, I need to

sudo wget fedora.vitu.ch/EL/qgis.repo -P /etc/yum.repos.d/
sudo rpm --import http://fedora.vitu.ch/Fedora/RPM-GPG-Key-vitu
sudo yum update
sudo yum install qgis qgis-python qgis-grass qgis-mapserver

The first step fails with a 403, but running the final two steps anyway did work, as QGIS seems to be available in the epel repo.

Now when I run QGIS though, I get the error "No module named sip".

I've looked everywhere and the only installers/source for SIP are for python 3. Is it possible to install SIP on python 2.7? Is there a workaround to get QGIS plugins working?

  • On a simple search in the package repos using the command # dnf search qgis, I am getting all the packages required which are qgis qgis-python, qgis-grass & qgis-mapserver. Maybe my repository is enabled. Check yours by doing the same. – Vipin Yadav Nov 15 '17 at 13:26
  • As I said above, I did run sudo yum install qgis qgis-python qgis-grass qgis-mapserver. – jon_two Nov 15 '17 at 13:42
  • I did have to skip qgis-grass though, as it requires libgeos-3.4.2. I have libgeos-3.5.0 installed, but apparently grass won't accept this. – jon_two Nov 15 '17 at 13:44
  • Well, I've successfully installed that on my Fedora-26 machine. Which distro are you using? – Vipin Yadav Nov 15 '17 at 13:57
  • Scientific Linux 7 – jon_two Nov 15 '17 at 14:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.