| Traceback (most recent call last): | |
| File "main/test_multi_pred.py", line 12, in <module> | |
| import librosa | |
| File "/home/rnd/miniconda3/envs/multitalk/lib/python3.8/site-packages/librosa/__init__.py", line 211, in <module> | |
| from . import core | |
| File "/home/rnd/miniconda3/envs/multitalk/lib/python3.8/site-packages/librosa/core/__init__.py", line 9, in <module> | |
| from .constantq import * # pylint: disable=wildcard-import | |
| File "/home/rnd/miniconda3/envs/multitalk/lib/python3.8/site-packages/librosa/core/constantq.py", line 1059, in <module> | |
| dtype=np.complex, | |
| File "/home/rnd/miniconda3/envs/multitalk/lib/python3.8/site-packages/numpy/__init__.py", line 305, in __getattr__ | |
| raise AttributeError(__former_attrs__[attr]) | |
| AttributeError: module 'numpy' has no attribute 'complex'. | |
| `np.complex` was a deprecated alias for the builtin `complex`. To avoid this error in existing code, use `complex` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.complex128` here. | |
| The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: | |
| https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations | |