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

ModuleNotFoundError: No module named 'typing_extensions' #31

Open
aspenboy opened this issue Jun 2, 2023 · 2 comments
Open

ModuleNotFoundError: No module named 'typing_extensions' #31

aspenboy opened this issue Jun 2, 2023 · 2 comments

Comments

@aspenboy
Copy link

aspenboy commented Jun 2, 2023

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
Copy link
Collaborator

dcrowe commented Jun 4, 2023

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

@aspenboy
Copy link
Author

aspenboy commented Jun 5, 2023

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

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

2 participants