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

AttributeError: module 'numpy' has no attribute 'long' #13

Open
gaoyiyao opened this issue May 28, 2024 · 0 comments
Open

AttributeError: module 'numpy' has no attribute 'long' #13

gaoyiyao opened this issue May 28, 2024 · 0 comments

Comments

@gaoyiyao
Copy link

Traceback (most recent call last):
File "preprocess.py", line 5, in
from preprocessor import preprocessor
File "/root/CDFSE_FastSpeech2-main/preprocessor/preprocessor.py", line 6, in
import librosa
File "/root/miniconda3/envs/CDFSE/lib/python3.8/site-packages/librosa/init.py", line 12, in
from . import core
File "/root/miniconda3/envs/CDFSE/lib/python3.8/site-packages/librosa/core/init.py", line 125, in
from .time_frequency import * # pylint: disable=wildcard-import
File "/root/miniconda3/envs/CDFSE/lib/python3.8/site-packages/librosa/core/time_frequency.py", line 11, in
from ..util.exceptions import ParameterError
File "/root/miniconda3/envs/CDFSE/lib/python3.8/site-packages/librosa/util/init.py", line 77, in
from .utils import * # pylint: disable=wildcard-import
File "/root/miniconda3/envs/CDFSE/lib/python3.8/site-packages/librosa/util/utils.py", line 10, in
import numba
File "/root/miniconda3/envs/CDFSE/lib/python3.8/site-packages/numba/init.py", line 15, in
from . import config, errors, runtests as runtests, types
File "/root/miniconda3/envs/CDFSE/lib/python3.8/site-packages/numba/types/init.py", line 110, in
long
= _make_signed(np.long)
File "/root/miniconda3/envs/CDFSE/lib/python3.8/site-packages/numpy/init.py", line 320, in getattr
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'long'

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

1 participant