Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: unsupported operand type(s) #2

Open
mishushakov opened this issue Oct 26, 2024 · 0 comments
Open

TypeError: unsupported operand type(s) #2

mishushakov opened this issue Oct 26, 2024 · 0 comments

Comments

@mishushakov
Copy link
Member

mishushakov commented Oct 26, 2024

Traceback (most recent call last):
  File "/Users/mish/Documents/Playground/claude-computer/hello.py", line 1, in <module>
    from e2b_desktop import Sandbox
  File "/Users/mish/Documents/Playground/claude-computer/.venv/lib/python3.9/site-packages/e2b_desktop/__init__.py", line 3, in <module>
    from .main import Sandbox
  File "/Users/mish/Documents/Playground/claude-computer/.venv/lib/python3.9/site-packages/e2b_desktop/main.py", line 10, in <module>
    class Sandbox(SandboxBase):
  File "/Users/mish/Documents/Playground/claude-computer/.venv/lib/python3.9/site-packages/e2b_desktop/main.py", line 74, in Sandbox
    def locate_on_screen(self, text: str) -> tuple[int, int] | None:
TypeError: unsupported operand type(s) for |: 'types.GenericAlias' and 'NoneType'

code in question:

def locate_on_screen(self, text: str) -> tuple[int, int] | None:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant