[tool.poetry.dependencies]
python = "^3.10"
docker = "^5.0.3"
beautifulsoup4 = "4.9.3"
colorama = "0.4.6"
openai = "^0.27.2"
python-dotenv = "1.0.0"
pyyaml = "6.0"
readability-lxml = "0.8.1"
requests = "^2.25.1"
tiktoken = "^0.1.0"
googlesearch-python = "^1.1.0"
The problem is googlesearch-python
pinning it's dependencies. . . tomviner already did a PR there & I've just created #86 containing a workaround using his fix.
Just wanted to do it without some random's fork.
also tried running as pip3
Errors:
ERROR: Cannot install -r requirements.txt (line 3), -r requirements.txt (line 4), -r requirements.txt (line 8) and requests==2.25.1 because these package versions have conflicting dependencies.
The conflict is caused by: The user requested requests==2.25.1 googlesearch-python 1.1.0 depends on requests==2.25.1 openai 0.27.0 depends on requests>=2.20 docker 6.0.1 depends on requests>=2.26.0
To fix this you could try to:
loosen the range of package versions you've specified
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
Please try the following commands while you are in the working directory/folder
1 Uninstall all requirements
pip uninstall -r requirements.txt
2 Install all requirements
pip install -r requirements.txt
##IN CASE those steps didn't worked out, please try:##
1 Uninstall all requirements
pip uninstall -r requirements.txt
2 Edit requirements.txt with this data
beautifulsoup4
colorama==0.4.6
openai==0.27.2
playsound==1.3.0
python-dotenv==1.0.0
pyyaml==6.0
readability-lxml==0.8.1
requests
tiktoken==0.3.3
gTTS==2.3.1
docker
duckduckgo-search
google-api-python-client #(https://developers.google.com/custom-search/v1/overview)
3 Save/Overwrite requirements.txt
4 Install all requirements
pip install -r requirements.txt
I hope this helps
Please give feedback! :)