gpt4free
gpt4free copied to clipboard
The requirements.txt need to be updated
The following error pops up when deploying this repo in both my own Mac and Kaggle Notebook:
ERROR: Cannot install -r gpt4free/requirements.txt (line 4), -r gpt4free/requirements.txt (line 8) and requests because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested requests
streamlit 1.21.0 depends on requests>=2.4
pypasser 0.0.5 depends on requests<3.0 and >=2.25.1
The user requested requests
streamlit 1.21.0 depends on requests>=2.4
pypasser 0.0.4 depends on requests==2.25.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](https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts%3C/span%3E%3Cspan)[ class="ansi-red-fg">](https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts%3C/span%3E%3Cspan)
That error message indicates a conflict between packages, I update with requirements.txt, then it works
websocket-client
requests
tls-client
# pypasser
pypasser>=0.0.5 # new line here
names
colorama
curl_cffi
streamlit==1.21.0
selenium
fake-useragent
twocaptcha
https://github.com/AI-Yash/st-chat/archive/refs/pull/24/head.zip
pydantic
pymailtm
Levenshtein
Besides, Python needs to be 3.8 or above ...
You can have .file/ .site