[Utenti] Win10 su macchina nuova Installer OSGEO32bit non installa correttamente le librerie numpy di python
nino formica
ninofor60 a gmail.com
Mar 22 Dic 2015 23:56:13 PST
Essendo curioso, ho voluto controllare oltre e ho trovato questo:
http://download.osgeo.org/osgeo4w/versions_diff-x86-x86_64.html
Da quanto risulta in questo confronto, il modulo python-numpy delle
due versioni (32 e 64 bit) è diverso !
... da capire !
Ciao
Il 21 dicembre 2015 17:36, Luca Mandolesi <mandoluca a gmail.com> ha scritto:
> Salve a tutti,
> ho installato su macchina PULITA Win10 QGis a 32 bit
>
> se faccio import numpy ottengo gli stessi errori di 4 precedenti macchine
>
> Errore numpy: [0]
>
> Questo provoca il blocco di matplotlib e a catena si tira dietro
> processing...
>
> Sulla mia macchina ho risolto copio/incollando il modulo numpy da una
> installazione locale di python a 32bit.
>
> Ora provo il medesimo workflow e vediamo se la teoria è giusta.
>
> Intanto che ne pensate???
>
> Ciao
> Luca
>
>
>
> [0]
>
> 2015-12-21T17:29:07 1 Traceback (most recent call last):
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 281, in loadPlugin
>
> __import__(packageName)
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\__init__.py", line
> 29, in <module>
>
> from processing.tools.general import *
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\general.py",
> line 28, in <module>
>
> from processing.core.Processing import Processing
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\Processing.py",
> line 48, in <module>
>
> from processing.algs.qgis.QGISAlgorithmProvider import QGISAlgorithmProvider
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File
> "C:/OSGeo4W/apps/qgis/./python/plugins\processing\algs\qgis\QGISAlgorithmProvider.py",
> line 100, in <module>
>
> from RasterLayerStatistics import RasterLayerStatistics
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File
> "C:/OSGeo4W/apps/qgis/./python/plugins\processing\algs\qgis\RasterLayerStatistics.py",
> line 35, in <module>
>
> from processing.tools import raster
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:/OSGeo4W/apps/qgis/./python/plugins\processing\tools\raster.py",
> line 29, in <module>
>
> import numpy
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\__init__.py", line
> 136, in <module>
>
> import add_newdocs
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\add_newdocs.py", line
> 9, in <module>
>
> from numpy.lib import add_newdoc
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\lib\__init__.py",
> line 4, in <module>
>
> from type_check import *
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\lib\type_check.py",
> line 8, in <module>
>
> import numpy.core.numeric as _nx
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\core\__init__.py",
> line 5, in <module>
>
> import multiarray
>
> File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
>
> mod = _builtin_import(name, globals, locals, fromlist, level)
>
> ImportError: DLL load failed: Impossibile trovare il modulo specificato.
>
>
> _______________________________________________
> Utenti mailing list
> Utenti a lists.qgis.it
> http://lists.qgis.it/cgi-bin/mailman/listinfo/utenti
>
More information about the QGIS-it-user
mailing list