Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: No module named mediatools_swig #17

Open
dyang37 opened this issue Sep 19, 2018 · 3 comments
Open

ImportError: No module named mediatools_swig #17

dyang37 opened this issue Sep 19, 2018 · 3 comments

Comments

@dyang37
Copy link

dyang37 commented Sep 19, 2018

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
Copy link

same problem

@liuzhejun
Copy link

You should install swig first:
apt install swig

@dollshice
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants