-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Depreciation of np.float causes incompatible numpy version #222
Comments
Even with a pre-install numpy 1.19.1 it does work
why is it doing this ?
1.25 is not even in the cache !
sorry python is hell to me :'( |
Igel has the same problem as Minic ;) |
Indeed it looks like scikit-learn is incompatible with newer versions of numpy. Working on a patch that fixes the dependency specification from our side. It turned out that the old version of scikit-learn no longer builds on python 3.7 and 3.9, which is why I had to restrict chess-tuning-tools to 3.8 for now. |
Thanks, almost good now, still I get
|
Vivien I switched to Windows and the problem went away.
…On Mon, 24 Jul 2023 at 18:41, Vivien Clauzon ***@***.***> wrote:
Thanks, almost good now, still I get
2023-07-24 08:54:38,865 INFO Computing current optimum was not successful. This can happen in rare cases and running the tuner again usually works.
Traceback (most recent call last):
File "/home/vivien/.pyenv/versions/3.9.17/bin/tune", line 8, in <module>
sys.exit(cli())
File "/home/vivien/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/vivien/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/vivien/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/vivien/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/vivien/.pyenv/versions/3.9.17/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/vivien/.pyenv/versions/3.9.17/lib/python3.9/site-packages/tune/cli.py", line 454, in local
iterations=np.array(performance)[:, 0],
IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
—
Reply to this email directly, view it on GitHub
<#222 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACSJIZ5KNUNJANBCWAYZTTXR2QSRANCNFSM6AAAAAAZNPIBCM>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Thank you,
With kind regards,
Volodymyr
|
Are both systems using the same cutechess-cli version? That is often the
cause of this error.
|
On this box I have |
Description
Depreciation of np.float causes incompatible numpy version
Version installed is
numpy 1.25.0
numpy version shall be <=1.19 with the given scikit-learn 0.23.2
Or am i missing something ?
The text was updated successfully, but these errors were encountered: