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

can't use stockfish_mv in google colab #131

Closed
sugizo opened this issue Apr 22, 2023 · 1 comment
Closed

can't use stockfish_mv in google colab #131

sugizo opened this issue Apr 22, 2023 · 1 comment

Comments

@sugizo
Copy link

sugizo commented Apr 22, 2023

step on google colab
!apt-get install -y stockfish curl unzip make git
!git clone https://github.com/ddugovic/Stockfish
!cd Stockfish/src && make -j build ARCH=x86-64
!cp Stockfish/src/stockfish /bin/stockfish_mv

result

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-16-d7ed8b0317d3>](https://localhost:8080/#) in on_change_engine(self, change)
    117         with self.output_board_info:
    118             clear_output(wait = True)
--> 119             display(HTML(self.display_board_info(self.board) ) )
    120 
    121     def make_engine_list(self):

3 frames
[/usr/local/lib/python3.9/dist-packages/stockfish/models.py](https://localhost:8080/#) in __init__(self, path, depth, parameters)
     55         self._has_quit_command_been_sent = False
     56 
---> 57         self._stockfish_major_version: int = int(
     58             self._read_line().split(" ")[1].split(".")[0].replace("-", "")
     59         )

ValueError: invalid literal for int() with base 10: 'dev20230413f0fc36bf'

note
stockfish_mv from the same git repo run well on mac

best regards

@kieferro
Copy link
Contributor

Hi, the project is now maintained on a fork (for more information please read #130).
The problem you have is a duplicate of py-stockfish#11 and we are already working on it. So you can simply close this one. If you open issues in the future, please do so in the new repo.
Thanks

@sugizo sugizo closed this as completed Apr 23, 2023
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

2 participants