keithito / tacotron

A TensorFlow implementation of Google's Tacotron speech synthesis with pre-trained model (unofficial)
MIT License
2.96k stars 956 forks source link

AttributeError: module 'numpy' has no attribute 'gcd' #337

Open ohdan10 opened 4 years ago

ohdan10 commented 4 years ago

When I excute this line , it don't work.

$ python preprocess.py --dataset ljspeech

Traceback (most recent call last): File "preprocess.py", line 5, in from datasets import ljspeech File "D:\tacotron\datasets\ljspeech.py", line 5, in from util import audio File "D:\tacotron\util\audio.py", line 1, in import librosa File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\librosa__init.py", line 12, in from . import core File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\librosa\core__init.py", line 108, in from .time_frequency import * # pylint: disable=wildcard-import File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\librosa\core\time_frequency.py", line 10, in from ..util.exceptions import ParameterError File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\librosa\util\init__.py", line 70, in from . import decorators File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\librosa\util\decorators.py", line 67, in from numba.decorators import jit as optional_jit File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\init.py", line 35, in from numba.core.decorators import (cfunc, generated_jit, jit, njit, stencil, File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\decorators.py", line 12, in from numba.stencils.stencil import stencil File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\stencils\stencil.py", line 11, in from numba.core import types, typing, utils, ir, config, ir_utils, registry File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\registry.py", line 4, in from numba.core import utils, typing, dispatcher, cpu File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\dispatcher.py", line 15, in from numba.core import utils, types, errors, typing, serialize, config, compiler, sigutils File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\serialize.py", line 12, in from numba.core import bytecode, compiler File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\compiler.py", line 6, in from numba.core import (utils, errors, typing, interpreter, bytecode, postproc, File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\callconv.py", line 11, in from numba.core.base import PYOBJECT, GENERIC_POINTER File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\base.py", line 23, in from numba.cpython import builtins File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\cpython\builtins.py", line 479, in from numba.core.typing.builtins import IndexValue, IndexValueType File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\typing\builtins.py", line 8, in from numba.parfors.parfor import internal_prange File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\parfors\init__.py", line 1, in from numba.parfors import parfor_lowering File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\parfors\parfor_lowering.py", line 18, in from numba.parfors import parfor File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\parfors\parfor.py", line 83, in from numba.core.typing import npydecl, signature File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\typing\npydecl.py", line 339, in _numpy_ufunc(func) File "C:\Users\js\anaconda3\envs\ohdan\lib\site-packages\numba\core\typing\npydecl.py", line 323, in _numpy_ufunc func = getattr(np, name) AttributeError: module 'numpy' has no attribute 'gcd'