shreyashankar / gpt3-sandbox

The goal of this project is to enable users to create cool web demos using the newly released OpenAI GPT-3 API with just a few lines of Python.
MIT License
2.9k stars 879 forks source link

fix(requirements): Change requirements for conflicting dependencies #125

Open nabaruns opened 1 year ago

nabaruns commented 1 year ago

Observed error:

ERROR: Cannot install -r api/requirements.txt (line 16), -r api/requirements.txt (line 8) and MarkupSafe==1.1.1 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested MarkupSafe==1.1.1
    jinja2 2.11.3 depends on MarkupSafe>=0.23
    werkzeug 2.2.3 depends on MarkupSafe>=2.1.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

This gets resolved by this PR.