[Qgis-user] Issues to install QGIS on RedHat 6
john polo
jpolo at mail.usf.edu
Fri Aug 21 11:48:50 PDT 2015
I have a similar problem as what's happened to Marian. However, I am
using CentOS 7, FWIW. I get the same error message at start-up as when I
try to run the Python console. Here it is:
Failed to open Python console:
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/console/__init__.py", line 26, in
from console import show_console
File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/console/console.py", line 29, in
from console_settings import optionsDialog
File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/console/console_settings.py", line 24, in
from console_compile_apis import PrepareAPIDialog
File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/console/console_compile_apis.py", line 28, in
from ui_console_compile_apis import Ui_APIsDialogPythonConsole
File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "/usr/share/qgis/python/console/ui_console_compile_apis.py", line 70, in
from Qsci.qsciscintilla import QsciScintilla
File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named Qsci.qsciscintilla
Python version:
2.7.5 (default, Jun 24 2015, 00:41:19)
[GCC 4.8.3 20140911 (Red Hat 4.8.3-9)]
QGIS version:
2.8.2-Wien 'Wien', exported
Python path:
['/usr/share/qgis/python', u'/home/jpolo/.qgis2/python',
u'/home/jpolo/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib64/python27.zip', '/usr/lib64/python2.7',
'/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk',
'/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload',
'/usr/lib64/python2.7/site-packages',
'/usr/lib64/python2.7/site-packages/gst-0.10',
'/usr/lib64/python2.7/site-packages/gtk-2.0',
'/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode',
'/usr/lib/python2.7/site-packages', u'/home/jpolo/.qgis2//python',
'/usr/share/qgis/python/plugins/fTools/tools']
> Hi,
>
> I managed to install 2.8 on Red Hat 7. It took me a while to find all dependencies but I made it.
>
> Thank you for your support.
>
> This is the error.
>
> There is a small issue of launching Python Console from QGIS.
> I got this error:
> Couldn't load plugin 'processing' from ['/usr/share/qgis/python', '/home/qgisosr/.qgis2/python', '/home/qgisosr/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode', '/usr/lib/python2.7/site-packages', '/home/qgisosr/.qgis2//python', '/usr/share/qgis/python/plugins/fTools/tools']
>
>
> Traceback (most recent call last):
> File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 196, in loadPlugin
> __import__(packageName)
> File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/usr/share/qgis/python/plugins/processing/__init__.py", line 29, in
> from processing.tools.general import *
> File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/usr/share/qgis/python/plugins/processing/tools/general.py", line 28, in
> from processing.core.Processing import Processing
> File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/usr/share/qgis/python/plugins/processing/core/Processing.py", line 44, in
> from processing.gui.Postprocessing import handleAlgorithmResults
> File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/usr/share/qgis/python/plugins/processing/gui/Postprocessing.py", line 36, in
> from processing.gui.ResultsDialog import ResultsDialog
> File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/usr/share/qgis/python/plugins/processing/gui/ResultsDialog.py", line 33, in
> from processing.ui.ui_DlgResults import Ui_DlgResults
> File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/usr/share/qgis/python/plugins/processing/ui/ui_DlgResults.py", line 61, in
> from QtWebKit.QWebView import QWebView
> File "/usr/lib64/python2.7/site-packages/qgis/utils.py", line 478, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: No module named QtWebKit.QWebView
>
>
> Python version:
> 2.7.5 (default, Feb 11 2014, 07:46:25)
> [GCC 4.8.2 20140120 (Red Hat 4.8.2-13)]
>
>
> QGIS version:
> 2.8.1-Wien Wien, exported
>
> Python path: ['/usr/share/qgis/python', u'/home/qgisosr/.qgis2/python', u'/home/qgisosr/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib64/python2.7/site-packages/gtk-2.0', '/usr/lib64/python2.7/site-packages/wx-2.8-gtk2-unicode', '/usr/lib/python2.7/site-packages', u'/home/qgisosr/.qgis2//python', '/usr/share/qgis/python/plugins/fTools/tools']
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150821/08f85ba9/attachment.html>
More information about the Qgis-user
mailing list