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 884 forks source link

Conflicting dependencies #92

Closed psharma04 closed 2 years ago

psharma04 commented 2 years ago

Running pip install -r api/requirements.txt produces the following error:

ERROR: Cannot install requests==2.24.0 and urllib3==1.26.5 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested urllib3==1.26.5
    requests 2.24.0 depends on urllib3!=1.25.0, !=1.25.1, <1.26 and >=1.21.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

Python 3.10.1, pip 21.3.1, MacOS Monterey 12.2

shreyashankar commented 2 years ago

Fixed!