ricedsp / rwt

The Rice Wavelet Toolbox (RWT) is a collection of Matlab M-files and C MEX-files for 1D and 2D wavelet and filter bank design, analysis, and processing. The toolbox provides tools for denoising and interfaces directly with our Matlab code for wavelet domain hidden Markov models and wavelet regularized deconvolution.
http://dsp.rice.edu
Other
134 stars 48 forks source link

error while importing rwt in pythjon=2.7 #14

Closed rabeehkarimi closed 6 years ago

rabeehkarimi commented 6 years ago

Hello, I got this error when importing rwt, I appreciate your help. Best Rabeeh

Traceback (most recent call last): File "example_wavelet.py", line 4, in from rwt import * File "/home/rabeehk/anaconda2/envs/mof/lib/python2.7/site-packages/rwt.py", line 29, in _rwt = swig_import_helper() File "/home/rabeehk/anaconda2/envs/mof/lib/python2.7/site-packages/rwt.py", line 28, in swig_import_helper return importlib.import_module('_rwt') File "/home/rabeehk/anaconda2/envs/mof/lib/python2.7/importlib/init.py", line 37, in import_module import(name) ImportError: dynamic module does not define init function (init_rwt)

kalliste commented 6 years ago

Did the installation complete without errors? What files do you have in /home/rabeehk/anaconda2/envs/mof/lib/python2.7/site-packages/rwt ?

kalliste commented 6 years ago

It looks like others were getting this same error while attempting to use Anaconda. Currently this is not supported but you might be able to get it working by following the comments at https://github.com/ricedsp/rwt/issues/7

Will close this as a duplicate.