Skip to content

Instantly share code, notes, and snippets.

@jamal919
Created August 18, 2018 04:54
Show Gist options
  • Save jamal919/a30379a7486064ea3bbb0c7df70ec30c to your computer and use it in GitHub Desktop.
Save jamal919/a30379a7486064ea3bbb0c7df70ec30c to your computer and use it in GitHub Desktop.
QGIS Python fix on CentOS 7
# Fixing the python issue
cd ~/.qgis2/python/
mkdir QtWebKit Qsci
touch QtWebKit/__init__.py Qsci/__init__.py
echo "from PyQt4.QtWebKit import QWebView" > QtWebKit/QWebView.py
echo "from PyQt4.Qsci import QsciScintilla" > Qsci/qsciscintilla.py
# Fixing the admin/system issue
yum install qca-ossl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment