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

GRASS GIS trac at osgeo.org
Mon Nov 10 07:26:47 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 nikosa):

 Replying to [comment:4 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 ?

 I compiled from a local copy of the source tree (v.70)

 > 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.

 g.extension fails here too.

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

More information about the grass-dev mailing list