BenBrostoff / draftfast

A tool to automate and optimize DraftKings and FanDuel lineup construction.
286 stars 112 forks source link

Could not find a version that satisfies the requirement ortools==9.0.9048 #196

Closed kilabyte closed 2 years ago

kilabyte commented 2 years ago

Tried on windows and mac m1 same results. I can mod the req files but other things start to blow up. Im just running the instructed pip install draftfast

ramGoli commented 2 years ago

I just downloaded the repo and ran it instead when faced with the same issue.

BenBrostoff commented 2 years ago

Hey all - I will look into this but note the tests run against a Docker container and use the same dependencies. If you try the Docker setup and review what’s happening in travis.yml this should be working at least with that environment

On Mon, Sep 12, 2022 at 8:49 AM Ram Goli @.***> wrote:

I just downloaded the repo and ran it instead when faced with the same issue.

— Reply to this email directly, view it on GitHub https://github.com/BenBrostoff/draftfast/issues/196#issuecomment-1243692792, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVK35CFZZRDJW32QATAGBTV54RENANCNFSM6AAAAAAQKBHNM4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

BenBrostoff commented 2 years ago

@kilabyte @ramGoli I spot-checked this on a clean Repl.it shell and this works. What Python version are you using here?

kilabyte commented 2 years ago

Using 3.9.13 and 3.10.0.

I have a feeling it's my m1 mac. Been messing around with it all day and I can only get it working in a Rosetta terminal calling 'pip install draftfast==3.7.11'

Running the Docker compose from the repo using the dockerfile to build the image on the Apple M1 also causes issues. And it's all the same issue that it's complaining about dependency version

BenBrostoff commented 2 years ago

On my end I run this on Rosetta since I also had issues with M1 (there's a thread about it here https://github.com/google/or-tools/issues/2332) - for Docker I had to run like in this gist.

You said though this also happened on Windows?

kilabyte commented 2 years ago

ya it was the same error on windows that could also be from the WSL. I have moved over to pydfs instead and have that working. :( I'll keep an eye on the repo for changes but we can close this for now