Skip to content

Forum in maintenance, we will back soon 🙂

Notifications
Clear all

Error

28 Posts
6 Users
5 Reactions
230 Views
(@kamal128)
Posts: 10
Active Member
Topic starter
 

how can i solve this error plz

2error

 

ERROR: Cannot install -r requirements.txt (line 6) and pydantic==2.8.2 because these package versions have conflicting dependencies.

 

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

 
Posted : 07/26/2024 6:32 pm
(@husein)
Posts: 531
Member Moderator
 

You have a conflict between packages. Try creating a virtual environment and then install -r requirements.txt

Create a virtual environment like this:

Open a new terminal and run the following step-by-step:

1- Create the Virtual Environment:

python - m venv venv

2- Create and Activate the Virtual Environment:

venv/scripts/activate

3- Install Packages:

pip install -r requirements.txt

 
Posted : 07/27/2024 12:44 pm
(@kamal128)
Posts: 10
Active Member
Topic starter
 
 

@huseinein than you mr hassan I do the same steps now again put the same  problem in step 3 (pip install -r requirements.txt)

I think Error come from this values

----------------------------requirments.txt-----------------------------

networkx==3.3
pydantic==2.8.2
python-dotenv==1.0.1
pyvis==0.3.2
Requests==2.32.3
SimplerLLM==0.2.6
streamlit==1.36.0
streamlit_agraph==0.0.45
This post was modified 4 months ago by kamal
 
Posted : 07/27/2024 1:59 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@kamal128 if you try removing the == and following numbers will it work for you?

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 07/27/2024 2:24 pm
(@kamal128)
Posts: 10
Active Member
Topic starter
 

@ssadvisor No it give me Error

 
Posted : 07/27/2024 4:44 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@kamal128 try to do a ```pip cache purge``` then do the install of the requirements.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 07/28/2024 5:48 pm
(@google-habibitopg)
Posts: 14
Active Member
 
Screenshot 2024 08 11 210905

i have this error it says i have version 1.4 and it gives me link(migration guide) and i followed everything it says me to install WSL i installed that also then it says to install workflow runner i searched in everything in youtube, google and followed but it is not completed. what shall i do? how can i migrate or i use the old verison 0.28?

 
Posted : 08/11/2024 3:45 pm
(@husein)
Posts: 531
Member Moderator
 

@google-habibitopg The error is stating that the code you have is not compatible with the new version of OpenAI so you should downgrade to the 0.28 version by doing this: pip install openai==0.28

But, this only fixes this code, so its better to use the new code which is compatible with your newer version of openai where on line 9 in your code it becomes like this:

completion = openai.chat.completions.create(
 
Posted : 08/12/2024 11:59 am
SSAdvisor reacted
(@google-habibitopg)
Posts: 14
Active Member
 

@husein ooh okay but i want the new version it asks me to download workflow runner for WSL. i cant do how can i do that?

 

 
Posted : 08/12/2024 3:26 pm
(@husein)
Posts: 531
Member Moderator
 

@google-habibitopg Once you update the code as I told you above and run it what is the error that shows in the terminal?

 
Posted : 08/12/2024 3:50 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@google-habibitopg what is the result of doing the following?

pip install --update openai

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/12/2024 10:58 pm
(@google-habibitopg)
Posts: 14
Active Member
 

@ssadvisor i just downloaded simplerllm everything solved i dont know

 
Posted : 08/13/2024 3:52 pm
(@google-habibitopg)
Posts: 14
Active Member
 

now i got problem 😪

Screenshot 2024 08 14 075919

 it is the free version of GEMINI API KEY the problem is it is keep on saying this. i changed in credentials to restrict key and then to none then to dont restrict key. it is saying error 403 before now it is saying error 400.i dont know what to do help guys

 

 
Posted : 08/14/2024 2:33 am
(@husein)
Posts: 531
Member Moderator
 

@google-habibitopg I just tried it using my free Gemini API key, and it worked; it's the same code as yours. So, make sure your Gemini API key in the .env file is inputted in this format:

GEMINI_API_KEY = "YOUR_API_KEY"
 
Posted : 08/14/2024 7:21 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@google-habibitopg a 400 error means the URL being accessed doesn't exist. Do as @Husein suggests and report back the results.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/14/2024 12:00 pm
(@google-habibitopg)
Posts: 14
Active Member
 

@ssadvisor yeah it worked actually now only i watched that if i change settings we should wait 5 minutes. i didnt wait 🤐 🤐 🤐 then it came thankyou guys you both helped more and more

 
Posted : 08/14/2024 4:26 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@google-habibitopg possibly due to site caching.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/15/2024 12:48 am
(@google-habibitopg)
Posts: 14
Active Member
 
Screenshot 2024 08 15 223105

 i want this tool is there any youtube video or blog post? i searched in youtube but i couldn't find video

 
Posted : 08/15/2024 5:03 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@google-habibitopg @Hasan covers his website in the lessons on SaaS. He even gives you the code.

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 08/15/2024 5:06 pm
(@google-habibitopg)
Posts: 14
Active Member
 

@ssadvisor i think he deleted it. it is not coming

 
Posted : 08/15/2024 5:19 pm
Page 1 / 2
Share:
build ai agents ad