LeelaChessZero / lczero-training

For code etc relating to the network training process.
151 stars 119 forks source link

which python version is required #195

Open arch-user-france1 opened 2 years ago

arch-user-france1 commented 2 years ago

ERROR: Could not find a version that satisfies the requirement tensorflow==2.5.1 ERROR: No matching distribution found for tensorflow==2.5.1

Could fix it by using conda but since I don't know which version I need I have to google that

arch-user-france1 commented 2 years ago

Python Version 3.6 is required

gl-yziquel commented 4 months ago

As to myself, here are the versions with which lczero-training can be set up. As of today...

Python version: 3.10.14

numpy==1.22.0
tensorflow==2.11.1
tensorflow-tensorboard==0.4.0.rc2
protobuf==3.18.3

Python 3.6 does not work anymore: there is version incompatibility with numpy and tensorflow with the tf/requirements.txt file when taken out of the box.

For anyone wondering: you've got dependabot/pip/tf branches that seemingly try to guess the correct versions. The versions above are taking from this information in the git tree. And it seems to work.

P.S.: there are unmerged pull requests for that, such as this one: https://github.com/LeelaChessZero/lczero-training/pull/213