radioML / dataset

Open RadioML Synthetic Benchmark Dataset
244 stars 140 forks source link

ImportError: No module named mediatools_swig #17

Open dyang37 opened 6 years ago

dyang37 commented 6 years ago

Hi developer, I was trying to run generate_RML2016.10a.py, and the following run time error occurs: Mapper warning: Could not load the module “fastcluster”. The module “scipy.cluster.hierarchy“ is used instead, but it will be slower. The 'cmappertools' module could not be imported. The 'cmappertools' module could not be imported. Intrinsic metric is not available. The 'cmappertools' module could not be imported. Traceback (most recent call last): File "generate_RML2016.10a.py", line 3, in from source_alphabet import source_alphabet File "/root/dataset/source_alphabet.py", line 3, in import mediatools File "/usr/local/lib/python2.7/dist-packages/mediatools/init.py", line 45, in from mediatools_swig import * ImportError: No module named mediatools_swig

I have already installed gr-mediatools from source (saw a similar issue there but no response exists). Please help.

xiexianchao commented 6 years ago

same problem

liuzhejun commented 5 years ago

You should install swig first: apt install swig

dollshice commented 4 years ago

I have the same problem.Have you solved it now? Can you share it with me?Thank you.