kochsebastian / ChessVisionBot

Chessbot using computer vision to play on any chess website
GNU General Public License v3.0
43 stars 22 forks source link

Solving environment fails on windows #14

Open arthur-parmentier opened 3 years ago

arthur-parmentier commented 3 years ago

Describe your Problem:

conda env create -f environment.yml fails on windows and results in several packages not being installed.

To Reproduce:

On windows 10 (lastest anaconda 1.10), conda env create -f environment.yml

Error report:
`(base) C:\Users\dell\Desktop\ChessVisionBot>conda env create -f environment.yml Collecting package metadata (repodata.json): done Solving environment: failed

ResolvePackageNotFound:

Expected behavior:
I expected the env to solve and the package to install as usual

System:

Additional context: The env file is made for OSX. Can that be the issue?

arthur-parmentier commented 3 years ago

The same error appears with >conda create --name chess --file requirements.txt:

Collecting package metadata (current_repodata.json): done Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

dynamicdiscord commented 3 years ago

Hiya, wanted to put my two cent in. Since OSX is unix, have you tried running any WSL versions to build this? Thanks!

dynamicdiscord commented 3 years ago

@kochsebastian -- tagging you to help this user.

kochsebastian commented 3 years ago

Yeah some of these packages are unix specific. I wanted to make a slim requirements file for ages but I haven't got the time at the moment. I would advise to start installing the essential things like tensorflow, opencv, python-chess etc. And then try to run the program. See want decencies are missing and install them manually. Try again until it runs without an import error.

You could also look into this install-only-available-packages
With this you can at least install all available packages and then install the rest manually.

Sorry for the inconvenience but this is not one of my priorities at the moment

dynamicdiscord commented 3 years ago

Whenever I get a free moment, I'll look into creating a slim requirements file. Just found this again.