[AniMov] Problem with Home range plugin and Python installation

Giovanni Manghi giovanni.manghi at gmail.com
Sat May 7 10:54:50 CEST 2011


Please follow step by step what you see in this screencast


http://www.faunalia.pt/downloads/qgis_home_range_plugin_windows.mpeg.tar.g


cheers

-- Giovanni --


On Sat, 2011-05-07 at 07:59 +0530, kamlesh maurya wrote:
> Dear Sir, 
> 
> 
> After Installing QGIS, R and Home range plugin is still ot functioning
> and these problem are showing i when i starts QGIS..
> 
> 
> 
> 
>  load plugin 'HomeRange_plugin' from
> ['C:/PROGRA~1/QUANTU~1/apps/qgis/./python',
> 'C:/Users/KAMLESH/.qgis/python',
> 'C:/Users/KAMLESH/.qgis/python/plugins',
> 'C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins', 'C:\PROGRA~1
> \QUANTU~1\apps\gdal-17\pymod', 'C:\Program Files\ArcGIS\bin', 'C:
> \PROGRA~1\QUANTU~1\bin\python25.zip', 'C:\PROGRA~1\QUANTU~1\apps
> \Python25\DLLs', 'C:\PROGRA~1\QUANTU~1\apps\Python25\lib', 'C:
> \PROGRA~1\QUANTU~1\apps\Python25\lib\plat-win', 'C:\PROGRA~1\QUANTU~1
> \apps\Python25\lib\lib-tk', 'C:\PROGRA~1\QUANTU~1\apps\qgis\bin', 'C:
> \PROGRA~1\QUANTU~1\apps\Python25', 'C:\PROGRA~1\QUANTU~1\apps\Python25
> \lib\site-packages', 'C:\PROGRA~1\QUANTU~1\apps\Python25\lib
> \site-packages\win32', 'C:\PROGRA~1\QUANTU~1\apps\Python25\lib
> \site-packages\win32\lib', 'C:\PROGRA~1\QUANTU~1\apps\Python25\lib
> \site-packages\Pythonwin', 'C:\PROGRA~1\QUANTU~1\apps\Python25\lib
> \site-packages\wx-2.8-msw-unicode']
> 
> Traceback (most recent call last):
>   File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line
> 117, in loadPlugin
>     __import__(packageName)
>   File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line
> 279, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:/Users/KAMLESH/.qgis/python/plugins\HomeRange_plugin
> \__init__.py", line 37, in 
>     from HRplugin_main import HRPlugin
>   File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line
> 279, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:/Users/KAMLESH/.qgis/python/plugins\HomeRange_plugin
> \HRplugin_main.py", line 37, in 
>     from HRplugin_dialog import Dialog
>   File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line
> 279, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:/Users/KAMLESH/.qgis/python/plugins\HomeRange_plugin
> \HRplugin_dialog.py", line 45, in 
>     import rpy2.robjects as robjects
>   File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line
> 279, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:\PROGRA~1\QUANTU~1\apps\Python25\lib\site-packages\rpy2
> \robjects\__init__.py", line 12, in 
>     import rpy2.rinterface as rinterface
>   File "C:/PROGRA~1/QUANTU~1/apps/qgis/./python\qgis\utils.py", line
> 279, in _import
>     mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "C:\PROGRA~1\QUANTU~1\apps\Python25\lib\site-packages\rpy2
> \rinterface\__init__.py", line 52, in 
>     raise RuntimeError("Unable to locate R.dll within %s" % R_HOME)
> RuntimeError: Unable to locate R.dll within C:\Program Files\R
> \R-2.12.0
> 
> Python version:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
> 
> 
> QGIS version:
> 1.6.0-Capiapo Capiapo, exported
> 
> Python path: ['C:/PROGRA~1/QUANTU~1/apps/qgis/./python',
> 'C:/Users/KAMLESH/.qgis/python',
> 'C:/Users/KAMLESH/.qgis/python/plugins',
> 'C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins', 'C:\\PROGRA~1\
> \QUANTU~1\\apps\\gdal-17\\pymod', 'C:\\Program Files\\ArcGIS\\bin',
> 'C:\\PROGRA~1\\QUANTU~1\\bin\\python25.zip', 'C:\\PROGRA~1\\QUANTU~1\
> \apps\\Python25\\DLLs', 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib',
> 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\plat-win', 'C:\\PROGRA~1
> \\QUANTU~1\\apps\\Python25\\lib\\lib-tk', 'C:\\PROGRA~1\\QUANTU~1\
> \apps\\qgis\\bin', 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25', 'C:\
> \PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages', 'C:\
> \PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32', 'C:\
> \PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
> 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\
> \Pythonwin', 'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\
> \site-packages\\wx-2.8-msw-unicode']
> 
> REGARDS
> Kamlesh K. Maurya
> Ph.D Scholar
> Wildlife Institute of India
> P.O.Box No.18, Chandrabani,
> Dehradun-248001
> Ph: +91-9720989232; 09712430290
> 
> -
> _______________________________________________
> AniMov mailing list
> AniMov at faunalia.it
> http://lists.faunalia.it/cgi-bin/mailman/listinfo/animov




More information about the AniMov mailing list