[CIG-SHORT] problem on gfgen.py

ymwen ymwen at sgg.whu.edu.cn
Mon Oct 24 07:44:08 PDT 2011


Dear all

  When I use the gfgen.py script to generate the green function, some errors as following occur. 

MyMac:hex8 ymwen$ ./gfgen.py
/Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site-packages/pythia-0.8.1.12-py2.6.egg/pyre/inventory/odb/Curator.py:200: UserWarning: Module pkg_resources was already imported from /Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/pkg_resources.py, but /Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site-packages/merlin-1.7.egg is being added to sys.path
  from pkg_resources import resource_listdir, resource_isdir, resource_exists, resource_filename, Requirement
/Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site-packages/pythia-0.8.1.12-py2.6.egg/pyre/inventory/odb/Curator.py:200: UserWarning: Module site was already imported from /Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site.pyc, but /Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site-packages/merlin-1.7.egg is being added to sys.path
  from pkg_resources import resource_listdir, resource_isdir, resource_exists, resource_filename, Requirement
Traceback (most recent call last):
  File "./gfgen.py", line 382, in <module>
    app.run()
  File "/Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site-packages/pythia-0.8.1.12-py2.6.egg/pyre/applications/Application.py", line 42, in run
    shell.run(*args, **kwds)
  File "/Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site-packages/pythia-0.8.1.12-py2.6.egg/pyre/applications/Shell.py", line 143, in run
    method(*args, **kwds)
  File "/Volumes/home/ymwen/software/pylith-1.6.1-darwin-10.6.6/lib/python2.6/site-packages/pythia-0.8.1.12-py2.6.egg/pyre/applications/Stager.py", line 19, in execute
    return self.main(*args, **kwds)
  File "./gfgen.py", line 121, in main
    self._readFaultInfo()
  File "./gfgen.py", line 160, in _readFaultInfo
    from enthought.mayavi.sources.vtk_file_reader import VTKFileReader
ImportError: No module named enthought.mayavi.sources.vtk_file_reader


Could you tell me how to resolve it?

Thank you very much.

Yangmao


More information about the CIG-SHORT mailing list