xtekky / gpt4free

The official gpt4free repository | various collection of powerful language models
https://g4f.ai
GNU General Public License v3.0
62.47k stars 13.4k forks source link

pip install phind #92

Closed FiveTechSoft closed 1 year ago

FiveTechSoft commented 1 year ago

pip install phind ERROR: Could not find a version that satisfies the requirement phind (from versions: none) ERROR: No matching distribution found for phind

How to solve it ?

many thanks!

sudouser777 commented 1 year ago

@FiveTechSoft there is no Python module available you just need to clone the code into your local, then you can use it check the example in Check this file for an example

AbdelrhmanNile commented 1 year ago

@sudouser777 where to find the cf_clearance cookie?

FiveTechSoft commented 1 year ago

its provided in the example

https://github.com/xtekky/gpt4free/blob/main/phind/phind_test.py

FiveTechSoft commented 1 year ago

the solution was to rename init.py as phind.py

https://github.com/xtekky/gpt4free/blob/main/phind/__init__.py

AbdelrhmanNile commented 1 year ago

@FiveTechSoft i know but how about getting my own cookie?

AbdelrhmanNile commented 1 year ago

the solution was to rename init.py as phind.py

https://github.com/xtekky/gpt4free/blob/main/phind/__init__.py

the solution actually is to move the phind_test.py into the parent directory so phind can be imported but yeah this works too

FiveTechSoft commented 1 year ago

@FiveTechSoft i know but how about getting my own cookie?

With such value works, no idea where it comes from

markstark74 commented 1 year ago

@AbdelrhmanNile Hi! Please tell me in more detail how to solve the installation problem "phind"? Because I'm new to python and I can't figure out how to do it. Thank you in advance

AbdelrhmanNile commented 1 year ago

@markstark74 rename the file __init__.py to phind.py

AbdelrhmanNile commented 1 year ago

no need for installing anything