[Qgis-user] LecoS problem

Michał Bełcik belcikmichal at gmail.com
Mon Dec 17 01:28:18 PST 2012


Last note: as I've seen, I'm probably lacking the Python scipy module.
Could any of you pleas give me some tips how to install it easily (I'm
completely new to Python, I must say), or has any links to a version that
has already scipy attached  - of course, if such version exists? I've seen
one, but it costed 199 dollars, so I've skipped that.


2012/12/17 Michał Bełcik <belcikmichal at gmail.com>

> Hello
>
> I've just tried to run the LecoS plugin, but there was an error:
>
> Nie można wczytać wtyczki LecoS z powodu błędu wywołania jej metody
> classFactory()
>
> Traceback (most recent call last):
>   File
> "C:/Users/Work/Desktop/Dokumenty/Programs/apps/qgis-dev/./python\qgis\utils.py",
> line 189, in startPlugin
>     plugins[packageName] = package.classFactory(iface)
>   File "C:/Users/Work/.qgis//python/plugins\LecoS\__init__.py", line 35,
> in classFactory
>     from lecos_main import LecoS
>   File
> "C:/Users/Work/Desktop/Dokumenty/Programs/apps/qgis-dev/./python\qgis\utils.py",
> line 438, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:/Users/Work/.qgis//python/plugins\LecoS\lecos_main.py", line 29,
> in
>     from lecos_dlg import LecosDialog
>   File
> "C:/Users/Work/Desktop/Dokumenty/Programs/apps/qgis-dev/./python\qgis\utils.py",
> line 438, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:/Users/Work/.qgis//python/plugins\LecoS\lecos_dlg.py", line 36,
> in
>     import landscape_statistics as lcs
>   File
> "C:/Users/Work/Desktop/Dokumenty/Programs/apps/qgis-dev/./python\qgis\utils.py",
> line 438, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File
> "C:/Users/Work/.qgis//python/plugins\LecoS\landscape_statistics.py", line
> 29, in
>     import gdal, numpy, sys, scipy, string, math, ogr, os
>   File
> "C:/Users/Work/Desktop/Dokumenty/Programs/apps/qgis-dev/./python\qgis\utils.py",
> line 438, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: No module named scipy
>
> Wersja Pythona:
> 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
>
>
> Wersja QGIS:
> 1.9.0-Master Master, 923ab1b
>
> Lokalizacja Pythona:
> ['C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\qgis-dev\\python\\plugins\\sextante',
> 'C:/Users/Work/Desktop/Dokumenty/Programs/apps/qgis-dev/./python',
> 'C:/Users/Work/.qgis//python', 'C:/Users/Work/.qgis//python/plugins',
> 'C:/Users/Work/Desktop/Dokumenty/Programs/apps/qgis-dev/./python/plugins',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\bin\\python27.zip',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\DLLs',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib\\plat-win',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib\\lib-tk',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\bin',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib\\site-packages',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib\\site-packages\\PIL',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib\\site-packages\\win32',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib\\site-packages\\win32\\lib',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib\\site-packages\\Pythonwin',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
> 'C:\\Users\\Work\\Desktop\\Dokumenty\\Programs\\apps\\qgis-dev\\python\\plugins\\fTools\\tools']
>
> Any help with that, please?
>
> Best regards
>
> Michal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20121217/83c88d05/attachment.html>


More information about the Qgis-user mailing list