Closed echavess closed 8 years ago
Heyhey,
did you install the latest version from github and can you post your full installation log?
Cheers!
Lion
Yes I did install the last version. I downloaded the master brach from github.
INSTALLATION LOG:
[221] ♫♫ sudo python setup.py install Password: /Users/ech/anaconda/lib/python2.7/site-packages/setuptools-20.3-py2.7.egg/setuptools/dist.py:294: UserWarning: The version specified ('0.3.x') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details. running install running bdist_egg running egg_info writing requirements to mtspec.egg-info/requires.txt writing mtspec.egg-info/PKG-INFO writing top-level names to mtspec.egg-info/top_level.txt writing dependency_links to mtspec.egg-info/dependencylinks.txt reading manifest file 'mtspec.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'mtspec/src/data/' no previously-included directories found matching 'mtspec/src/developing/' no previously-included directories found matching 'mtspec/src/doc/' no previously-included directories found matching 'mtspec/src/examples/' no previously-included directories found matching 'mtspec/src/license/' no previously-included directories found matching 'mtspec/src/Makefile' no previously-included directories found matching 'mtspec/src/makefiles/' no previously-included directories found matching 'mtspec/src/Makefile.win' no previously-included directories found matching 'mtspec/src/matlab/' no previously-included directories found matching 'mtspec/src/plot/_' no previously-included directories found matching 'mtspec/src/programs/*' no previously-included directories found matching 'mtspec/src/README' writing manifest file 'mtspec.egg-info/SOURCES.txt' installing library code to build/bdist.macosx-10.5-x86_64/egg running install_lib running build_py running build_ext creating build/bdist.macosx-10.5-x86_64/egg creating build/bdist.macosx-10.5-x86_64/egg/mtspec copying build/lib.macosx-10.5-x86_64-2.7/mtspec/init.py -> build/bdist.macosx-10.5-x86_64/egg/mtspec creating build/bdist.macosx-10.5-x86_64/egg/mtspec/lib copying build/lib.macosx-10.5-x86_64-2.7/mtspec/lib/mtspec.so -> build/bdist.macosx-10.5-x86_64/egg/mtspec/lib copying build/lib.macosx-10.5-x86_64-2.7/mtspec/multitaper.py -> build/bdist.macosx-10.5-x86_64/egg/mtspec creating build/bdist.macosx-10.5-x86_64/egg/mtspec/src creating build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/.DS_Store -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/adaptspec.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/atanh2.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/df_spec.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/dpss.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/dpss_ev.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/dpss_spline.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/eigenft.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/fdis.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/fft.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/ftest.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/ifft.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/jackspec.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/mt_cohe.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/mt_deconv.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/mt_transfer.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/mtspec.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/nearn.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/nnls.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/nsinv.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/nsqi.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/oct_spec.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/psd_reshape.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/pythag.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/qiinv.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/qrfac.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/qsnorm.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/qtdis.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/rsm_eig.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/set_xint.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/sft.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/sine_cohe.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/sine_psd.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/spectra.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/spline.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/sym_fft.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/tinvit.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/trbak1.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/tred1.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/tridib.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/wv_spec.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/wv_spec_to_array.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/xint.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/yule.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src copying build/lib.macosx-10.5-x86_64-2.7/mtspec/src/src/zqrfac.f90 -> build/bdist.macosx-10.5-x86_64/egg/mtspec/src/src creating build/bdist.macosx-10.5-x86_64/egg/mtspec/tests copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/init.py -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/main.py -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests creating build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/dpss.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/fstatistics.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/mt_cohe.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/mtspec_pad_with_errors.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/multitaper.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/PASC.dat.gz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/quadratic_multitaper.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/sine_psd.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/single_taper.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/v22_174_series.dat.gz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/data/wv.npz -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/data copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/test_code_formatting.py -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/test_multitaper.py -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests copying build/lib.macosx-10.5-x86_64-2.7/mtspec/tests/test_recreatepaperfigures.py -> build/bdist.macosx-10.5-x86_64/egg/mtspec/tests copying build/lib.macosx-10.5-x86_64-2.7/mtspec/util.py -> build/bdist.macosx-10.5-x86_64/egg/mtspec copying build/lib.macosx-10.5-x86_64-2.7/mtspec/VERSION.txt -> build/bdist.macosx-10.5-x86_64/egg/mtspec byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/multitaper.py to multitaper.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/init.py to init.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/main.py to main.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/test_code_formatting.py to test_code_formatting.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/test_multitaper.py to test_multitaper.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/tests/test_recreatepaperfigures.py to test_recreatepaperfigures.pyc byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/util.py to util.pyc creating stub loader for mtspec/lib/mtspec.so byte-compiling build/bdist.macosx-10.5-x86_64/egg/mtspec/lib/mtspec.py to mtspec.pyc creating build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying mtspec.egg-info/PKG-INFO -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying mtspec.egg-info/SOURCES.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying mtspec.egg-info/dependency_links.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying mtspec.egg-info/not-zip-safe -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying mtspec.egg-info/requires.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO copying mtspec.egg-info/top_level.txt -> build/bdist.macosx-10.5-x86_64/egg/EGG-INFO writing build/bdist.macosx-10.5-x86_64/egg/EGG-INFO/native_libs.txt creating 'dist/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg' and adding 'build/bdist.macosx-10.5-x86_64/egg' to it removing 'build/bdist.macosx-10.5-x86_64/egg' (and everything under it) Processing mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg removing '/Users/ech/anaconda/lib/python2.7/site-packages/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg' (and everything under it) creating /Users/ech/anaconda/lib/python2.7/site-packages/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg Extracting mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg to /Users/ech/anaconda/lib/python2.7/site-packages mtspec 0.3.x is already the active version in easy-install.pth
Installed /Users/ech/anaconda/lib/python2.7/site-packages/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg Processing dependencies for mtspec===0.3.x Searching for numpy==1.10.0 Best match: numpy 1.10.0 Adding numpy 1.10.0 to easy-install.pth file
Using /Users/ech/anaconda/lib/python2.7/site-packages Finished processing dependencies for mtspec===0.3.x
Ok. I just re-installed the developer version and ran the test:
python -m mtspec.tests
Ran 14 tests in 7.802s
OK
It seems to be working.
Great :-)
I have a problem with Debian Jessie
File "test_wave.py", line 319, in
Install log : running install running bdist_egg running egg_info writing requirements to mtspec.egg-info/requires.txt writing mtspec.egg-info/PKG-INFO writing top-level names to mtspec.egg-info/top_level.txt writing dependency_links to mtspec.egg-info/dependencylinks.txt reading manifest file 'mtspec.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' no previously-included directories found matching 'mtspec/src/data/' no previously-included directories found matching 'mtspec/src/developing/' no previously-included directories found matching 'mtspec/src/doc/' no previously-included directories found matching 'mtspec/src/examples/' no previously-included directories found matching 'mtspec/src/license/' no previously-included directories found matching 'mtspec/src/Makefile' no previously-included directories found matching 'mtspec/src/makefiles/' no previously-included directories found matching 'mtspec/src/Makefile.win' no previously-included directories found matching 'mtspec/src/matlab/' no previously-included directories found matching 'mtspec/src/plot/_' no previously-included directories found matching 'mtspec/src/programs/*' no previously-included directories found matching 'mtspec/src/README' writing manifest file 'mtspec.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py running build_ext creating build/bdist.linux-x86_64/egg creating build/bdist.linux-x86_64/egg/mtspec copying build/lib.linux-x86_64-2.7/mtspec/multitaper.py -> build/bdist.linux-x86_64/egg/mtspec copying build/lib.linux-x86_64-2.7/mtspec/init.py -> build/bdist.linux-x86_64/egg/mtspec creating build/bdist.linux-x86_64/egg/mtspec/src creating build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/tred1.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/yule.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/dpss.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/tridib.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/ftest.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/wv_spec.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/qrfac.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/sine_cohe.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/mtspec.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/spline.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/fdis.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/mt_cohe.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/.DS_Store -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/nsinv.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/nsqi.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/rsm_eig.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/set_xint.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/sym_fft.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/df_spec.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/dpss_ev.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/pythag.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/tinvit.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/eigenft.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/adaptspec.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/ifft.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/qiinv.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/zqrfac.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/qtdis.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/nearn.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/fft.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/mt_transfer.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/wv_spec_to_array.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/atanh2.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/qsnorm.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/trbak1.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/nnls.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/dpss_spline.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/spectra.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/psd_reshape.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/sine_psd.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/sft.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/mt_deconv.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/oct_spec.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/xint.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/src/src/jackspec.f90 -> build/bdist.linux-x86_64/egg/mtspec/src/src copying build/lib.linux-x86_64-2.7/mtspec/VERSION.txt -> build/bdist.linux-x86_64/egg/mtspec creating build/bdist.linux-x86_64/egg/mtspec/lib copying build/lib.linux-x86_64-2.7/mtspec/lib/mtspec.so -> build/bdist.linux-x86_64/egg/mtspec/lib copying build/lib.linux-x86_64-2.7/mtspec/util.py -> build/bdist.linux-x86_64/egg/mtspec creating build/bdist.linux-x86_64/egg/mtspec/tests creating build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/v22_174_series.dat.gz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/dpss.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/mtspec_pad_with_errors.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/wv.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/fstatistics.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/quadratic_multitaper.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/multitaper.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/single_taper.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/mt_cohe.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/sine_psd.npz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/data/PASC.dat.gz -> build/bdist.linux-x86_64/egg/mtspec/tests/data copying build/lib.linux-x86_64-2.7/mtspec/tests/test_recreatepaperfigures.py -> build/bdist.linux-x86_64/egg/mtspec/tests copying build/lib.linux-x86_64-2.7/mtspec/tests/init.py -> build/bdist.linux-x86_64/egg/mtspec/tests copying build/lib.linux-x86_64-2.7/mtspec/tests/main.py -> build/bdist.linux-x86_64/egg/mtspec/tests copying build/lib.linux-x86_64-2.7/mtspec/tests/test_multitaper.py -> build/bdist.linux-x86_64/egg/mtspec/tests copying build/lib.linux-x86_64-2.7/mtspec/tests/test_code_formatting.py -> build/bdist.linux-x86_64/egg/mtspec/tests byte-compiling build/bdist.linux-x86_64/egg/mtspec/multitaper.py to multitaper.pyc byte-compiling build/bdist.linux-x86_64/egg/mtspec/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/mtspec/util.py to util.pyc byte-compiling build/bdist.linux-x86_64/egg/mtspec/tests/test_recreatepaperfigures.py to test_recreatepaperfigures.pyc byte-compiling build/bdist.linux-x86_64/egg/mtspec/tests/init.py to init.pyc byte-compiling build/bdist.linux-x86_64/egg/mtspec/tests/main.py to main.pyc byte-compiling build/bdist.linux-x86_64/egg/mtspec/tests/test_multitaper.py to test_multitaper.pyc byte-compiling build/bdist.linux-x86_64/egg/mtspec/tests/test_code_formatting.py to test_code_formatting.pyc creating stub loader for mtspec/lib/mtspec.so byte-compiling build/bdist.linux-x86_64/egg/mtspec/lib/mtspec.py to mtspec.pyc creating build/bdist.linux-x86_64/egg/EGG-INFO copying mtspec.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO copying mtspec.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying mtspec.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying mtspec.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO copying mtspec.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO copying mtspec.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt creating 'dist/mtspec-0.3.x-py2.7-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it removing 'build/bdist.linux-x86_64/egg' (and everything under it) Processing mtspec-0.3.x-py2.7-linux-x86_64.egg removing '/usr/local/lib/python2.7/dist-packages/mtspec-0.3.x-py2.7-linux-x86_64.egg' (and everything under it) creating /usr/local/lib/python2.7/dist-packages/mtspec-0.3.x-py2.7-linux-x86_64.egg Extracting mtspec-0.3.x-py2.7-linux-x86_64.egg to /usr/local/lib/python2.7/dist-packages mtspec 0.3.x is already the active version in easy-install.pth
Installed /usr/local/lib/python2.7/dist-packages/mtspec-0.3.x-py2.7-linux-x86_64.egg Processing dependencies for mtspec==0.3.x Searching for numpy==1.8.2 Best match: numpy 1.8.2 numpy 1.8.2 is already the active version in easy-install.pth
Using /usr/lib/python2.7/dist-packages Finished processing dependencies for mtspec==0.3.x
Compiles fine in an up-to-date Anaconda environment in Debian Jessie for me..
@abnarain Maybe you have some previous installation or an installation from another PC? No clue how the ELF header could otherwise be invalid. Also the install log does not show the actual compilation - it must have been compiled before. Can you do a clean installation?
$ pip uninstall mtspec
$ cd /path/to/mtspec
$ git clean -f -d -x # This will delete ALL files in the mtspec folder not part of the repository!
$ pip install -v .
This should force a recompilation - if it still does not work, please send the log again.
@krischer You were right, it works now like a charm. Thank you!
Hi @krischer and @ThomasLecocq I am interested in this code for EGF deconvolutions / spectral ratios, although I am having issues trying out the examples; any idea what could be happening? Thanks!
[645] ♫♫ python -m mtspec.tests Traceback (most recent call last): File "/Users/ech/anaconda/lib/python2.7/runpy.py", line 151, in _run_module_as_main mod_name, loader, code, fname = _get_module_details(mod_name) File "/Users/ech/anaconda/lib/python2.7/runpy.py", line 101, in _get_module_details loader = get_loader(mod_name) File "/Users/ech/anaconda/lib/python2.7/pkgutil.py", line 464, in get_loader return find_loader(fullname) File "/Users/ech/anaconda/lib/python2.7/pkgutil.py", line 474, in find_loader for importer in iter_importers(fullname): File "/Users/ech/anaconda/lib/python2.7/pkgutil.py", line 430, in iter_importers import(pkg) File "/Users/ech/anaconda/lib/python2.7/site-packages/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg/mtspec/init.py", line 15, in
from .multitaper import mtspec, sine_psd, dpss # NOQA
File "/Users/ech/anaconda/lib/python2.7/site-packages/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg/mtspec/multitaper.py", line 19, in
mtspeclib = _load_lib()
File "/Users/ech/anaconda/lib/python2.7/site-packages/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg/mtspec/util.py", line 38, in _load_lib
lib = C.CDLL(filename)
File "/Users/ech/anaconda/lib/python2.7/ctypes/init.py", line 365, in init
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/ech/anaconda/lib/python2.7/site-packages/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg/mtspec/lib/mtspec.py, 6): no suitable image found. Did find:
/Users/ech/anaconda/lib/python2.7/site-packages/mtspec-0.3.x-py2.7-macosx-10.5-x86_64.egg/mtspec/lib/mtspec.py: file too short