[QGIS-it-user] problemi con il plugn qProf

ILARIO CAVADA ilario_83 a yahoo.it
Mer 31 Gen 2018 01:14:23 PST


Buongiorno. Dopo aver disisntallato e reinstallato Qgis (la versione più recente, ho ricaricato il plugin Qprof: la prima volta che l'ho aperto funzionava, poi, dopo averlo aperto la econda volta mi dava lo stesso messaggio di errore: 
Impossibile caricare il plugin 'qProf' 
ImportError: No module named Tkinter Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 308, in loadPlugin
    __import__(packageName)
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\__init__.py", line 24, in 
    from qProf_main import qProf_main
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\qProf_main.py", line 10, in 
    from qProf_QWidget import qprof_QWidget
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\qProf_QWidget.py", line 28, in 
    from qProf_plotting import plot_geoprofiles
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\qProf_plotting.py", line 8, in 
    from .mpl_utils.mpl_widget import MplWidget, plot_line, plot_filled_line
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\mpl_utils\mpl_widget.py", line 15, in 
    from matplotlib import pyplot
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\matplotlib\pyplot.py", line 115, in 
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\matplotlib\backends\__init__.py", line 32, in pylab_setup
    globals(),locals(),[backend_name],0)
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py", line 6, in 
    from six.moves import tkinter as Tk
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\six.py", line 203, in load_module
    mod = mod._resolve()
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\six.py", line 115, in _resolve
    return _import_module(self.mod)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\six.py", line 82, in _import_module
    __import__(name)
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named Tkinter

Ipotesi mia: la libreria di Pyton relativa al plugins dev'essere compilata in maniera errata.

Grazie cmq per l'aiuto di tutti.

Ilario
 

    Il Martedì 30 Gennaio 2018 11:15, ILARIO CAVADA <ilario_83 a yahoo.it> ha scritto:
 

 Buongiorno, Ho installato l'ultima versione di Qgis 2.18.16 e volevo installare il plugin "qProf"; mi dà questo messagio di errore:
Impossibile caricare il plugin 'qProf' 
ImportError: No module named Tkinter Traceback (most recent call last):
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 308, in loadPlugin
    __import__(packageName)
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\__init__.py", line 24, in 
    from qProf_main import qProf_main
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\qProf_main.py", line 10, in 
    from qProf_QWidget import qprof_QWidget
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\qProf_QWidget.py", line 28, in 
    from qProf_plotting import plot_geoprofiles
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\qProf_plotting.py", line 8, in 
    from .mpl_utils.mpl_widget import MplWidget, plot_line, plot_filled_line
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/ilario.MCFIEMME/.qgis2/python/plugins\qProf\mpl_utils\mpl_widget.py", line 15, in 
    from matplotlib import pyplot
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\matplotlib\pyplot.py", line 115, in 
    _backend_mod, new_figure_manager, draw_if_interactive, _show = pylab_setup()
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\matplotlib\backends\__init__.py", line 32, in pylab_setup
    globals(),locals(),[backend_name],0)
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py", line 6, in 
    from six.moves import tkinter as Tk
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\six.py", line 203, in load_module
    mod = mod._resolve()
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\six.py", line 115, in _resolve
    return _import_module(self.mod)
  File "C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\six.py", line 82, in _import_module
    __import__(name)
  File "C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named Tkinter

Versione Python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] 
Versione di QGIS: 2.18.16 Las Palmas, d473c3071a 
Path di Python:   
   - C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins\processing
   - C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python
   - C:/Users/ilario.MCFIEMME/.qgis2/python
   - C:/Users/ilario.MCFIEMME/.qgis2/python/plugins
   - C:/PROGRA~1/QGIS2~1.18/apps/qgis/./python/plugins
   - C:\Program Files (x86)\ArcGIS\bin
   - C:\PROGRA~1\QGIS2~1.18\bin\python27.zip
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\DLLs
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\plat-win
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\lib-tk
   - C:\PROGRA~1\QGIS2~1.18\bin
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\win32\lib
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Pythonwin
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
   - C:\PROGRA~1\QGIS2~1.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
   - C:/Users/ilario.MCFIEMME/.qgis2//python
   - S:/appoggio/Da Ilario/IV ZianoPanchia_2015
C'e' qualcuno che puo' aiutarmi?
Grazie, Ilario


   
-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://lists.osgeo.org/pipermail/qgis-it-user/attachments/20180131/08676859/attachment-0001.html>


Maggiori informazioni sulla lista QGIS-it-user