lewisgibson / monopoly-go-bot

Automate playing Monopoly Go! using Python and Bluestacks.
47 stars 12 forks source link

error on launch #5

Closed nhumber closed 1 year ago

nhumber commented 1 year ago

pip installed everytying ok but this happens when its ran.

PS C:\monopoly-go-bot-main> python3 main.py Traceback (most recent call last): File "C:\monopoly-go-bot-main\main.py", line 11, in class Monopoly: File "C:\monopoly-go-bot-main\main.py", line 55, in Monopoly def Find(self, image: PIL.Image.Image) -> pyscreeze.Point | None: TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'

lewisgibson commented 1 year ago

Hey @nhumber 👋 Please double check that the requirements installed successfully. If you could let me know more information about your environment, including python version (python3 --version), that would be great.

tanahgao commented 1 year ago

sup @lewisgibson will there be a update on the bot?(improvements maybe?). I really enjoyed the bot btw thanks for sharing.

lewisgibson commented 1 year ago

@tanahgao Probably at some point. This was really a proof of concept I made in a day to prove it's possible. I don't actively play the game so I have no desire to work on this further, but I am happy to test and verify pull requests.

lewisgibson commented 1 year ago

Closing due to lack of correspondence from the poster.

Maniak14 commented 11 months ago

image I have this issus

Maniak14 commented 11 months ago

image

Maniak14 commented 11 months ago

image

Maniak14 commented 11 months ago

please help me

lewisgibson commented 9 months ago

@Maniak14 | was added in python 3.10. Try using that.