Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've been trying to use a module that is installed in my local version of python, but whenever I open the plugin itself, it does not manage to locate said module. The module in this case is Noise 1.1.1.

The error I get is this, is there somewhere I need to declare the module so it allows its use in qgis?

    Couldn't load plugin PointGenerator due an error when calling its classFactory() method

Traceback (most recent call last):
  File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 164, in startPlugin
    plugins[packageName] = package.classFactory(iface)
  File "C:/Users/Chris/.qgis//python/plugins\PointGenerator\__init__.py", line 52, in classFactory
    from pointgenerator import PointGenerator
  File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/Chris/.qgis//python/plugins\PointGenerator\pointgenerator.py", line 26, in 
    from noise import snoise2
  File "C:/PROGRA~2/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named noise
share|improve this question
    
Will you please post your code here? –  Brian Edmond Feb 22 '13 at 19:36
add comment

1 Answer

If you are still looking for an answer to this question, check out: QGIS plugins with python dependencies

share|improve this answer
    
Instead of providing just a link, it is often useful if you can explain how you think that question/answer relates to the specific scenario in the original question (and especially where there might be some differences). –  BradHards Apr 7 '13 at 5:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.