Visual-Regression-Tracker / sdk-python

Apache License 2.0
4 stars 4 forks source link

ModuleNotFoundError: No module named 'typing_extensions' #31

Open aspenboy opened 1 year ago

aspenboy commented 1 year ago

Hi there,

I'm trying to use VRT with Playwright. VRT version is 4.9.0, my python version is 3.11.2. Here's what happens when I try to run my tests:

    from visual_regression_tracker.playwright import PlaywrightVisualRegressionTracker
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

    import base64
    import dataclasses
    import pathlib

    from typing import Union, List
>   from typing_extensions import Literal
E   ModuleNotFoundError: No module named 'typing_extensions'

venv/lib/python3.11/site-packages/visual_regression_tracker/playwright.py:6: ModuleNotFoundError
dcrowe commented 1 year ago

Looks like the typing_extensions package is missing from setup.py. You should be able to install it manually to proceed.

aspenboy commented 1 year ago

@dcrowe d'uh... of course :D I have no idea how I didn't think about this. Thanks!