bootphon / phonemizer

Simple text to phones converter for multiple languages
https://bootphon.github.io/phonemizer/
GNU General Public License v3.0
1.23k stars 172 forks source link

ImportError: No module named phonemizer. #6

Closed ChrisChan2013 closed 6 years ago

ChrisChan2013 commented 6 years ago

I am installing facebookresearch/loop, and phonemizer is one of the modules should be imported. However, when I followed the whole installation of phonemizer and told me that finished processing dependencies for phonemizer==0.3.1, I got "ImportError: No module named phonemizer" when I was running the generate.py of voiceloop. I have no idea of why this happen.

ChrisChan2013 commented 6 years ago

I installed Anaconda before. Does this matter?

mmmaat commented 6 years ago

Did you follow the install procedure ?

mmmaat commented 6 years ago

Ok sorry I read tour post a bit fast... If the installation succeeded but the import failed you may have a trouble with your conda virtual environment.

You can have a conda env export -n YOUR_ENV_NAME to see all the modules installed, you must have phonemizer and voiceloop. If you don't know YOUR_ENV_NAME, have a conda env list.

See the conda doc.