我正在将我的代码从我的 ide 转移到 google colab,但是在尝试使用 stockfish 时我不断收到以下错误。
PermissionError: [Errno 13] Permission denied: '/content/drive/MyDrive/Colab Notebooks/stockfish/stockfish_14_win_x64_avx2/stockfish_14_x64_avx2.exe'
我只在 colab 中运行以下 3 行,文件位置在我安装的驱动器内
pip install stockfish
from stockfish import Stockfish
sf = Stockfish(r'/content/drive/MyDrive/Colab Notebooks/Stockfish/stockfish_14_x64_avx2.exe')
我已经尝试使用 !chmod +x '/content/drive/MyDrive/Colab Notebooks/stockfish/stockfish_14_win_x64_avx2/stockfish_14_x64_avx2.exe' 这导致我出现以下错误
OSError: [Errno 8] Exec format error: '/content/drive/MyDrive/Colab Notebooks/stockfish/stockfish_14_win_x64_avx2/stockfish_14_x64_avx2.exe'
关于我应该做什么的任何建议?