r9y9 / nnmnkwii

Library to build speech synthesis systems designed for easy and fast prototyping.

Home Page:https://r9y9.github.io/nnmnkwii/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ImportError occured if install by "pip install", and setup by git work well

Alexander-flyer opened this issue · comments

env: Python 3.5
First, I install nnmnkwii by "pip install nnmnkwii" and succeed.
but when I import nnmnkwii , error occured that:

from nnmnkwii.preprocessing.alignment import DTWAligner
File "/export/soft/env_pytorch/img/lib/python3.5/site-packages/nnmnkwii/preprocessing/alignment.py", line 4, in
from nnmnkwii.baseline.gmm import MLPG
File "/export/soft/env_pytorch/img/lib/python3.5/site-packages/nnmnkwii/baseline/gmm.py", line 5, in
from nnmnkwii.paramgen import mlpg
File "/export/soft/env_pytorch/img/lib/python3.5/site-packages/nnmnkwii/paramgen/init.py", line 3, in
from ._mlpg import build_win_mats, mlpg, mlpg_grad, unit_variance_mlpg_matrix
File "/export/soft/env_pytorch/img/lib/python3.5/site-packages/nnmnkwii/paramgen/_mlpg.py", line 9, in
from nnmnkwii.util.linalg import cholesky_inv_banded
File "/export/soft/env_pytorch/img/lib/python3.5/site-packages/nnmnkwii/util/linalg.py", line 4, in
from ._linalg import dpotri_full_L, dpotri_full_U
ImportError: No module named 'nnmnkwii.util._linalg'

but after downloading .zip file and setup by "python setup.py develop" ,It works well.
I feel confused.

Looks like cython module was not compiled successfully. I tried with a fresh python3.5 env but cannot reproduce. Could you try installing with the following command?

pip -v --no-cache-dir install nnmnkwii

This should give us more information.

hmm I have uninstalled it and reinstalled it follow your suggestion, it works well.
As a test, I uninstalled it again and install by "pip install nnmnkwii" it also works well ..
Maybe It just a problem caused by my environment at that time.
Thanks for your response, If I get any point I will feedback to you immediately.
=w=

I'm closing the issue. Feel free to reopen if you still see the issue.