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

fdrw: module 'numpy' has no attribute 'float128' #40

Closed
AlienKevin opened this issue Jul 16, 2023 · 1 comment · Fixed by #41
Closed

fdrw: module 'numpy' has no attribute 'float128' #40

AlienKevin opened this issue Jul 16, 2023 · 1 comment · Fixed by #41
Labels

Comments

@AlienKevin
Copy link

Issue

When running the pitch_voting example on macOS, I got the following error:

Traceback (most recent call last):
File "../../../bin/fdrw", line 24, in
import sptk.draw_utils as utils
File "/Users/kevin/Dev/personal/canto_syllable_classification/SPTK/src/draw/sptk/draw_utils.py", line 56, in
"e": np.float128,
File "/Users/kevin/Dev/personal/canto_syllable_classification/SPTK/tools/venv/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 'float128'

Workaround

Changing float128 to float64 worked.

Environment

SPTK: latest commit on Jul 15, 2023. Commit hash: 9654e59
My system: macOS Monterey on M1 Max

@takenori-y
Copy link
Contributor

Thank you for pointing this out.
I have removed an option which was not working to fix the problem.

@takenori-y takenori-y added the bug label Jul 16, 2023
@takenori-y takenori-y linked a pull request Jul 16, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants