Use virtual enviroment to avoid confilcts with you have installed before.
Look at this post on how to make.
Quick test.
Look at this post on how to make.
Quick test.
(astro_env) C:\code\astro_env λ pip install dlgo Collecting dlgo Downloading dlgo-0.2-py3-none-any.whl (121 kB) ---------------------------------------- 121.5/121.5 KB 2.4 MB/s eta 0:00:00 Collecting Flask>=0.10.1 Downloading Flask-2.2.2-py3-none-any.whl (101 kB) ---------------------------------------- 101.5/101.5 KB 5.7 MB/s eta 0:00:00 Collecting h5py Downloading h5py-3.7.0-cp310-cp310-win_amd64.whl (2.6 MB) ---------------------------------------- 2.6/2.6 MB 6.7 MB/s eta 0:00:00 Collecting numpy<=1.14.5 Downloading numpy-1.14.5.zip (4.9 MB) ---------------------------------------- 4.9/4.9 MB 3.7 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py) ... done Collecting six Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting dlgo Downloading dlgo-0.1-py3-none-any.whl (121 kB) ---------------------------------------- 121.4/121.4 KB 7.4 MB/s eta 0:00:00 Collecting tensorflow Downloading tensorflow-2.11.0-cp310-cp310-win_amd64.whl (1.9 kB) Collecting keras Downloading keras-2.11.0-py2.py3-none-any.whl (1.7 MB) ---------------------------------------- 1.7/1.7 MB 9.7 MB/s eta 0:00:00 Collecting gomill Downloading gomill-0.8.3.tar.gz (241 kB) ---------------------------------------- 241.5/241.5 KB 4.9 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting Flask-Cors Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB) Collecting Jinja2>=3.0 Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB) ---------------------------------------- 133.1/133.1 KB 4.0 MB/s eta 0:00:00 Collecting Werkzeug>=2.2.2 Downloading Werkzeug-2.2.2-py3-none-any.whl (232 kB) ---------------------------------------- 232.7/232.7 KB 7.2 MB/s eta 0:00:00 Collecting click>=8.0 Using cached click-8.1.3-py3-none-any.whl (96 kB) Collecting itsdangerous>=2.0 Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB) Collecting numpy>=1.14.5 Downloading numpy-1.24.1-cp310-cp310-win_amd64.whl (14.8 MB) ---------------------------------------- 14.8/14.8 MB 12.1 MB/s eta 0:00:00 Collecting tensorflow-intel==2.11.0 Downloading tensorflow_intel-2.11.0-cp310-cp310-win_amd64.whl (266.3 MB) ---------------------------------------- 266.3/266.3 MB 2.5 MB/s eta 0:00:00 Collecting protobuf<3.20,>=3.9.2 Downloading protobuf-3.19.6-cp310-cp310-win_amd64.whl (895 kB) ---------------------------------------- 895.7/895.7 KB 4.0 MB/s eta 0:00:00 Collecting tensorboard<2.12,>=2.11 Downloading tensorboard-2.11.0-py3-none-any.whl (6.0 MB) ---------------------------------------- 6.0/6.0 MB 4.3 MB/s eta 0:00:00 Collecting opt-einsum>=2.3.2 Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB) ---------------------------------------- 65.5/65.5 KB 1.8 MB/s eta 0:00:00 Collecting packaging Downloading packaging-22.0-py3-none-any.whl (42 kB) ---------------------------------------- 42.6/42.6 KB 1.0 MB/s eta 0:00:00 Collecting wrapt>=1.11.0 Downloading wrapt-1.14.1-cp310-cp310-win_amd64.whl (35 kB) Collecting gast<=0.4.0,>=0.2.1 Downloading gast-0.4.0-py3-none-any.whl (9.8 kB) Collecting libclang>=13.0.0 Downloading libclang-14.0.6-py2.py3-none-win_amd64.whl (14.2 MB) ---------------------------------------- 14.2/14.2 MB 4.8 MB/s eta 0:00:00 Collecting tensorflow-io-gcs-filesystem>=0.23.1 Downloading tensorflow_io_gcs_filesystem-0.29.0-cp310-cp310-win_amd64.whl (1.5 MB) ---------------------------------------- 1.5/1.5 MB 5.3 MB/s eta 0:00:00 Collecting tensorflow-estimator<2.12,>=2.11.0 Downloading tensorflow_estimator-2.11.0-py2.py3-none-any.whl (439 kB) ---------------------------------------- 439.2/439.2 KB 5.5 MB/s eta 0:00:00 Collecting astunparse>=1.6.0 Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB) Collecting flatbuffers>=2.0 Downloading flatbuffers-22.12.6-py2.py3-none-any.whl (26 kB) Collecting termcolor>=1.1.0 Downloading termcolor-2.1.1-py3-none-any.whl (6.2 kB) Collecting grpcio<2.0,>=1.24.3 Downloading grpcio-1.51.1-cp310-cp310-win_amd64.whl (3.7 MB) ---------------------------------------- 3.7/3.7 MB 3.2 MB/s eta 0:00:00 Collecting typing-extensions>=3.6.6 Using cached typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting absl-py>=1.0.0 Downloading absl_py-1.3.0-py3-none-any.whl (124 kB) ---------------------------------------- 124.6/124.6 KB 7.1 MB/s eta 0:00:00 Requirement already satisfied: setuptools in c:\code\astro_env\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow->dlgo) (58.1.0) Collecting google-pasta>=0.1.1 Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB) ---------------------------------------- 57.5/57.5 KB ? eta 0:00:00 Collecting colorama Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB) Collecting MarkupSafe>=2.0 Using cached MarkupSafe-2.1.1-cp310-cp310-win_amd64.whl (17 kB) Collecting wheel<1.0,>=0.23.0 Using cached wheel-0.38.4-py3-none-any.whl (36 kB) Collecting tensorboard-data-server<0.7.0,>=0.6.0 Downloading tensorboard_data_server-0.6.1-py3-none-any.whl (2.4 kB) Collecting google-auth<3,>=1.6.3 Downloading google_auth-2.15.0-py2.py3-none-any.whl (177 kB) ---------------------------------------- 177.0/177.0 KB 10.4 MB/s eta 0:00:00 Collecting tensorboard-plugin-wit>=1.6.0 Downloading tensorboard_plugin_wit-1.8.1-py3-none-any.whl (781 kB) ---------------------------------------- 781.3/781.3 KB 5.5 MB/s eta 0:00:00 Collecting markdown>=2.6.8 Downloading Markdown-3.4.1-py3-none-any.whl (93 kB) ---------------------------------------- 93.3/93.3 KB 5.2 MB/s eta 0:00:00 Collecting requests<3,>=2.21.0 Using cached requests-2.28.1-py3-none-any.whl (62 kB) Collecting google-auth-oauthlib<0.5,>=0.4.1 Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 kB) Collecting cachetools<6.0,>=2.0.0 Using cached cachetools-5.2.0-py3-none-any.whl (9.3 kB) Collecting pyasn1-modules>=0.2.1 Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting rsa<5,>=3.1.4 Downloading rsa-4.9-py3-none-any.whl (34 kB) Collecting requests-oauthlib>=0.7.0 Downloading requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB) Collecting certifi>=2017.4.17 Downloading certifi-2022.12.7-py3-none-any.whl (155 kB) ---------------------------------------- 155.3/155.3 KB 9.1 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.13-py2.py3-none-any.whl (140 kB) ---------------------------------------- 140.6/140.6 KB 8.1 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Using cached idna-3.4-py3-none-any.whl (61 kB) Collecting charset-normalizer<3,>=2 Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting pyasn1<0.5.0,>=0.4.6 Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting oauthlib>=3.0.0 Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB) ---------------------------------------- 151.7/151.7 KB 9.4 MB/s eta 0:00:00 Using legacy 'setup.py install' for future, since package 'wheel' is not installed. Using legacy 'setup.py install' for gomill, since package 'wheel' is not installed. Installing collected packages: tensorboard-plugin-wit, pyasn1, libclang, gomill, flatbuffers, wrapt, wheel, urllib3, typing-extensions, termcolor, tensorflow-io-gcs-filesystem, tensorflow-estimator, tensorboard-data-server, six, rsa, pyasn1-modules, protobuf, packaging, oauthlib, numpy, MarkupSafe, markdown, keras, itsdangerous, idna, grpcio, gast, future, colorama, charset-normalizer, certifi, cachetools, absl-py, Werkzeug, requests, opt-einsum, Jinja2, h5py, google-pasta, google-auth, click, astunparse, requests-oauthlib, Flask, google-auth-oauthlib, Flask-Cors, tensorboard, tensorflow-intel, tensorflow, dlgo Running setup.py install for gomill ... done Running setup.py install for future ... done Successfully installed Flask-2.2.2 Flask-Cors-3.0.10 Jinja2-3.1.2 MarkupSafe-2.1.1 Werkzeug-2.2.2 absl-py-1.3.0 astunparse-1.6.3 cachetools-5.2.0 certifi-2022.12.7 charset-normalizer-2.1.1 click-8.1.3 colorama-0.4.6 dlgo-0.1 flatbuffers-22.12.6 future-0.18.2 gast-0.4.0 gomill-0.8.3 google-auth-2.15.0 google-auth-oauthlib-0.4.6 google-pasta-0.2.0 grpcio-1.51.1 h5py-3.7.0 idna-3.4 itsdangerous-2.1.2 keras-2.11.0 libclang-14.0.6 markdown-3.4.1 numpy-1.24.1 oauthlib-3.2.2 opt-einsum-3.3.0 packaging-22.0 protobuf-3.19.6 pyasn1-0.4.8 pyasn1-modules-0.2.8 requests-2.28.1 requests-oauthlib-1.3.1 rsa-4.9 six-1.16.0 tensorboard-2.11.0 tensorboard-data-server-0.6.1 tensorboard-plugin-wit-1.8.1 tensorflow-2.11.0 tensorflow-estimator-2.11.0 tensorflow-intel-2.11.0 tensorflow-io-gcs-filesystem-0.29.0 termcolor-2.1.1 typing-extensions-4.4.0 urllib3-1.26.13 wheel-0.38.4 wrapt-1.14.1 # Test that it works (astro_env) C:\code\astro_env λ python Python 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from dlgo import goboard >>> from dlgo import gotypes >>> from dlgo import minimax >>> from dlgo.utils import print_board, print_move, point_from_coords >>> from six.moves import input >>> >>>
Reply