[CIG-SHORT] VQ-quakelib issue

李晓帆 lxf at seis.ac.cn
Mon Feb 15 00:16:02 PST 2016


Dear CIG staff,

     My name is Li Xiaofan and I am working at China Earthquake Networks Center. I have installed the Virtual Earthquake vq-2.1.0.tar.gz[2015-12-08] and the test are 100% passed. After calculating, I can not draw the pics with python.  Could you help to telling me how to fix this problem. Thank you very much.

python ../../PyVQ/pyvq/pyvq.py --event_file events_straight-test1_2000.txt --plot_mag_rupt_area --plot_mag_mean_slip
Traceback (most recent call last):
  File "../../PyVQ/pyvq/pyvq.py", line 8, in <module>
    import quakelib
  File "/usr/lib/python2.7/site-packages/quakelib/__init__.py", line 10, in <module>
    from quakelib import *
  File "/usr/lib/python2.7/site-packages/quakelib/quakelib.py", line 28, in <module>
    _quakelib = swig_import_helper()
  File "/usr/lib/python2.7/site-packages/quakelib/quakelib.py", line 24, in swig_import_helper
    _mod = imp.load_module('_quakelib', fp, pathname, description)
ImportError: dynamic module does not define init function (init_quakelib)




--

Li Xiaofan
Department of Earthquake Prediction
China Earthquake Networks Center(CENC)
China Earthquake Administration(CEA) 
No.5 Nanheng Street, Sanlihe, Xicheng District,
Beijing 100045, P.R..China
Tel: 010-59959315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20160215/14f871ce/attachment.html>


More information about the CIG-SHORT mailing list