Python Forum
Couldn't install a go-game called dlgo
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Couldn't install a go-game called dlgo
#11
(Jan-03-2023, 09:35 PM)snippsat Wrote:
(Jan-03-2023, 06:12 PM)Nomamesse Wrote: Do you mean : "Delete your (test_env) and make a new environment" ?
If the answer is yes, can you tell me how to ?
Yes just delete folder test_env and make new one,with same name or new name.
Then when new enviroment is activate do pip --no-cache-dir install dlgo
(Jan-03-2023, 06:12 PM)Nomamesse Wrote: 'm sorry but I don't understand the rest of your post, would you mind rephrasing it ? I can speak french or spanish if you're more comfortable with them.
Thanks by advance for your answer.
I was talking about Anaconda/Miniconda look at this post or post.

Ok I did as you said : erased test_venv, reinstalled, activated and then copied pasted the command you gave me but the same error message still appears:
C:\Users\Nomamesse\test_env\Scripts>activate

(test_env) C:\Users\Nomamesse\test_env\Scripts>pip --no-cache-dir install dlgo
Collecting dlgo
  Downloading dlgo-0.2-py3-none-any.whl (121 kB)
     ---------------------------------------- 121.5/121.5 kB 1.8 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 ? eta 0:00:00
Collecting Flask-Cors
  Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Collecting future
  Downloading future-0.18.2.tar.gz (829 kB)
     ---------------------------------------- 829.2/829.2 kB 6.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting gomill
  Downloading gomill-0.8.3.tar.gz (241 kB)
     ---------------------------------------- 241.5/241.5 kB 7.2 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting h5py
  Downloading h5py-3.7.0.tar.gz (392 kB)
     ---------------------------------------- 392.4/392.4 kB 8.1 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting keras==2.2.2
  Downloading Keras-2.2.2-py2.py3-none-any.whl (299 kB)
     ---------------------------------------- 299.3/299.3 kB 9.3 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 9.2 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting six
  Downloading 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 6.9 MB/s eta 0:00:00
Collecting keras
  Downloading keras-2.11.0-py2.py3-none-any.whl (1.7 MB)
     ---------------------------------------- 1.7/1.7 MB 8.9 MB/s eta 0:00:00
ERROR: Cannot install dlgo==0.1 and dlgo==0.2 because these package versions have conflicting dependencies.

The conflict is caused by:
    dlgo 0.2 depends on tensorflow==1.10.1
    dlgo 0.1 depends on tensorflow

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

[notice] A new release of pip available: 22.3 -> 22.3.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Reply
#12
(Jan-04-2023, 10:17 PM)Nomamesse Wrote: Ok I did as you said : erased test_venv, reinstalled, activated and then copied pasted the command you gave me but the same error message still appears:
Ok,i did a test with python 3.11 and got the same error.
So the eaiset soultion for now is just to download python 3.10 use that.
No need to uninstall Python 3.11,just dowload python 3.10 and choose not add to Path under install.
Now use py(comes with Python) which can acsess any Python version and make virtual enviroment with Python 3.10.
Like this.
# Make using <py> ponting to Python 3.10
G:\div_code
λ py -3.10 -m venv dl_env

G:\div_code
λ cd dl_env

G:\div_code\dl_env
λ G:\div_code\dl_env\Scripts\activate.bat

# Install
(dl_env) G:\div_code\dl_env
λ pip --no-cache-dir install dlgo
Collecting dlgo
  Downloading dlgo-0.2-py3-none-any.whl (121 kB)
     ---------------------------------------- 121.5/121.5 KB 1.0 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 13.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting six
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting Flask-Cors
  Downloading Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB)
Collecting gomill
  Downloading gomill-0.8.3.tar.gz (241 kB)
     ---------------------------------------- 241.5/241.5 KB 7.5 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting Flask>=0.10.1
  Downloading Flask-2.2.2-py3-none-any.whl (101 kB)
     ---------------------------------------- 101.5/101.5 KB 6.1 MB/s eta 0:00:00
Collecting keras==2.2.2
  Downloading Keras-2.2.2-py2.py3-none-any.whl (299 kB)
     ---------------------------------------- 299.3/299.3 KB 18.1 MB/s eta 0:00:00
Collecting dlgo
  Downloading dlgo-0.1-py3-none-any.whl (121 kB)
     ---------------------------------------- 121.4/121.4 KB ? eta 0:00:00
Collecting keras
  Downloading keras-2.11.0-py2.py3-none-any.whl (1.7 MB)
     ---------------------------------------- 1.7/1.7 MB 18.0 MB/s eta 0:00:00
Collecting future
  Downloading future-0.18.2.tar.gz (829 kB)
     ---------------------------------------- 829.2/829.2 KB 51.2 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Collecting tensorflow
  Downloading tensorflow-2.11.0-cp310-cp310-win_amd64.whl (1.9 kB)
Collecting h5py
  Downloading h5py-3.7.0-cp310-cp310-win_amd64.whl (2.6 MB)
     ---------------------------------------- 2.6/2.6 MB 13.9 MB/s eta 0:00:00
Collecting Jinja2>=3.0
  Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
     ---------------------------------------- 133.1/133.1 KB ? eta 0:00:00
Collecting click>=8.0
  Downloading click-8.1.3-py3-none-any.whl (96 kB)
     ---------------------------------------- 96.6/96.6 KB ? 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 14.8 MB/s eta 0:00:00
Collecting itsdangerous>=2.0
  Downloading 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.4 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 4.7 MB/s eta 0:00:00
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 8.2 MB/s eta 0:00:00
Collecting libclang>=13.0.0
  Downloading libclang-14.0.6-py2.py3-none-win_amd64.whl (14.2 MB)
     ---------------------------------------- 14.2/14.2 MB 7.4 MB/s eta 0:00:00
Collecting gast<=0.4.0,>=0.2.1
  Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
Collecting absl-py>=1.0.0
  Downloading absl_py-1.3.0-py3-none-any.whl (124 kB)
     ---------------------------------------- 124.6/124.6 KB ? 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 protobuf<3.20,>=3.9.2
  Downloading protobuf-3.19.6-cp310-cp310-win_amd64.whl (895 kB)
     ---------------------------------------- 895.7/895.7 KB 9.4 MB/s eta 0:00:00
Collecting google-pasta>=0.1.1
  Downloading google_pasta-0.2.0-py3-none-any.whl (57 kB)
     ---------------------------------------- 57.5/57.5 KB 3.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 opt-einsum>=2.3.2
  Downloading opt_einsum-3.3.0-py3-none-any.whl (65 kB)
     ---------------------------------------- 65.5/65.5 KB 3.7 MB/s eta 0:00:00
Collecting typing-extensions>=3.6.6
  Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB)
Requirement already satisfied: setuptools in g:\div_code\dl_env\lib\site-packages (from tensorflow-intel==2.11.0->tensorflow->dlgo) (58.1.0)
Collecting packaging
  Downloading packaging-22.0-py3-none-any.whl (42 kB)
     ---------------------------------------- 42.6/42.6 KB ? eta 0:00:00
Collecting termcolor>=1.1.0
  Downloading termcolor-2.2.0-py3-none-any.whl (6.6 kB)
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 8.6 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 9.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 13.8 MB/s eta 0:00:00
Collecting colorama
  Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting MarkupSafe>=2.0
  Downloading MarkupSafe-2.1.1-cp310-cp310-win_amd64.whl (17 kB)
Collecting wheel<1.0,>=0.23.0
  Downloading wheel-0.38.4-py3-none-any.whl (36 kB)
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 9.9 MB/s eta 0:00:00
Collecting requests<3,>=2.21.0
  Downloading requests-2.28.1-py3-none-any.whl (62 kB)
     ---------------------------------------- 62.8/62.8 KB ? 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 ? eta 0:00:00
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 google-auth-oauthlib<0.5,>=0.4.1
  Downloading google_auth_oauthlib-0.4.6-py2.py3-none-any.whl (18 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 cachetools<6.0,>=2.0.0
  Downloading cachetools-5.2.0-py3-none-any.whl (9.3 kB)
Collecting pyasn1-modules>=0.2.1
  Downloading pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB)
     ---------------------------------------- 155.3/155.3 KB 9.7 MB/s eta 0:00:00
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 idna<4,>=2.5
  Downloading idna-3.4-py3-none-any.whl (61 kB)
     ---------------------------------------- 61.5/61.5 KB ? eta 0:00:00
Collecting charset-normalizer<3,>=2
  Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
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 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 pyasn1<0.5.0,>=0.4.6
  Downloading pyasn1-0.4.8-py2.py3-none-any.whl (77 kB)
     ---------------------------------------- 77.1/77.1 KB ? eta 0:00:00
Collecting oauthlib>=3.0.0
  Downloading oauthlib-3.2.2-py3-none-any.whl (151 kB)
     ---------------------------------------- 151.7/151.7 KB 8.8 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.2.0 typing-extensions-4.4.0 urllib3-1.26.13 wheel-0.38.4 wrapt-1.14.1

# Test that it works
(dl_env) G:\div_code\dl_env
λ python
Python 3.10.5 (tags/v3.10.5:f377153, Jun  6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from dlgo import goboard
>>>
>>> exit()
Reply
#13
Done. This time no error message, installation seems to have been done fine except that I received 2 depreciation messages. Should I worry about them ?

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
  DEPRECATION: gomill is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  Running setup.py install for gomill ... done
  DEPRECATION: future is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559
  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-23.1.4 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.2.0 typing-extensions-4.4.0 urllib3-1.26.13 wheel-0.38.4 wrapt-1.14.1
Should I worry about them ?
Reply
#14
(Jan-05-2023, 04:04 PM)Nomamesse Wrote: Should I worry about them ?
No,is just depreciation message that newer stuf like pyproject.toml is available.
This library is more a proof of concept( 3 years ago),
and will not be updated to to work with newer stuff like Pyhon 3.11.
Reply
#15
(Jan-05-2023, 05:05 PM)snippsat Wrote:
(Jan-05-2023, 04:04 PM)Nomamesse Wrote: Should I worry about them ?
No,is just depreciation message that newer stuf like pyproject.toml is available.
This library is more a proof of concept( 3 years ago),
and will not be updated to to work with newer stuff like Pyhon 3.11.

Ok, thank you for your help.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Multiple variable inputs when only one is called for ChrisDall 2 496 Oct-20-2023, 07:43 PM
Last Post: deanhystad
  how can a function find the name by which it is called? Skaperen 18 3,518 Aug-24-2022, 04:52 PM
Last Post: Skaperen
  function with 'self' input parameter errors out with and without 'self' called dford 12 3,147 Jan-15-2022, 06:07 PM
Last Post: deanhystad
  What is this formatting called? Mark17 2 1,779 Dec-14-2020, 08:42 PM
Last Post: snippsat
  Class Instances called in the wrong order IanIous 4 2,859 Mar-06-2020, 02:16 PM
Last Post: IanIous
  I couldn't understand the output of the below code ravich129 1 1,936 Dec-12-2019, 06:24 AM
Last Post: sandeep_ganga
  How do you add the results together each time a function is called? Exsul 10 5,176 Aug-09-2019, 09:18 PM
Last Post: ichabod801
  Called Functions Not Working WhatAmIDoing09 3 2,580 Jul-12-2019, 07:02 PM
Last Post: ichabod801
  Getting error when called through instance method aankrose 2 2,594 Mar-02-2019, 07:19 PM
Last Post: aankrose
  Couldn't really understand the problem Batselot 1 2,294 Dec-13-2018, 07:59 AM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020