[GRASS-dev] [GRASS GIS] #2480: v.class.ml: ImportError: No module named training_extraction

GRASS GIS trac at osgeo.org
Sun Nov 9 23:40:04 PST 2014


#2480: v.class.ml: ImportError: No module named training_extraction
------------------------------------+---------------------------------------
 Reporter:  mlennert                |       Owner:  grass-dev@…              
     Type:  defect                  |      Status:  new                      
 Priority:  normal                  |   Milestone:                           
Component:  Addons                  |     Version:  svn-releasebranch70      
 Keywords:  v.class.ml g.extension  |    Platform:  Unspecified              
      Cpu:  Unspecified             |  
------------------------------------+---------------------------------------

Comment(by mlennert):

 Replying to [comment:3 nikosa]:
 > I guess after cleaning old compiled stuff, and installing sklearn, all
 works fine now.

 Could you explain what exactly you did to make it work ? Did you use
 g.extension, or compiled it from a source tree on your machine ?

 When I compile manually with MODULE_TOPDIR set to my source dir,
 everything works fine, i.e. the main v.class.ml ends up in scripts/ and
 all the additional files get copied to etc/v.class.ml/.

 However, when I use g.extension, only the main script gets copied to
 .grass7/addons/scripts whereas nothing is copied to .grass7/addons/etc.

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/2480#comment:4>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list