voicefixer
voicefixer copied to clipboard
Numpy error
(Voicefixer) C:\Temp\voicefixer>voicefixer --help
Traceback (most recent call last):
File "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. Did you mean: 'complex_'?
A part solution is here.
Following the installation directions (modified for conda env), I got this same error as Sinicyn78, running on Python 3.9.
1. conda create --name python-voicefixer python=3.9
2. conda activate python-voicefixer
3. pip install voicefixer==0.1.2
4. conda install git
5. git clone https://github.com/haoheliu/voicefixer.git
6. cd voicefixer
7. python test/test.py # test script
However, after altering the librosa files following the directions in the issue below (issue 48), I can now use VoiceFixer in modes 0 and 2 (not 1) without issue, which works for my project. Another person on that thread looks like they got to the same place by installing a previous version of librosa, but I can't speak to that.
https://github.com/haoheliu/voicefixer/issues/48#issuecomment-1636795850