pretrehr / Sports-betting

Sports betting assistant (with interface) which optimizes earnings regarding odds and offers
MIT License
429 stars 92 forks source link

Error while running pip install -r requirements.txt #55

Closed YiffyC closed 1 year ago

YiffyC commented 1 year ago

Hello dev! This is the error I get when I run pip install -r requirements.txt

Getting requirements to build wheel ... error error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [1 lines of output] error in demjson setup command: use_2to3 is invalid. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

YiffyC commented 1 year ago

Fond how to resolve. It was while installing demjson. I fixed it by downgrading setuptools :

pip install "setuptools<58.0.0"

YiffyC commented 1 year ago

Forgot to close issue