Skip to content

Forum in maintenance, we will back soon 🙂

Fatal error in laun...
 
Notifications
Clear all

Fatal error in launcher

21 Posts
5 Users
4 Reactions
221 Views
Dim2001
(@dassa)
Posts: 99
Member
Topic starter
 

I tried to pip install PIL. but it gave me the below error. This pip worked perfectly before suddenly this started to happen. cannot do any pip.

Screenshot 1
 
Posted : 06/16/2024 10:22 am
Topic Tags
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@dassa did you activate the virtual environment?

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

 
Posted : 06/16/2024 12:46 pm
Dim2001
(@dassa)
Posts: 99
Member
Topic starter
 

@ssadvisor of course

image
 
Posted : 06/16/2024 2:10 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@dassa you want to ```pip install pillow``` instead. Then you can ```import PIL```.

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

 
Posted : 06/16/2024 5:15 pm
Dim2001
(@dassa)
Posts: 99
Member
Topic starter
 

same story

image
 
Posted : 06/17/2024 5:24 am
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@dassa what does ```pip --version``` give you? If that works try with the ```pillow``` instead of ```Pillow```.

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

 
Posted : 06/17/2024 1:38 pm
Hasan Aboul Hasan
(@admin)
Posts: 1253
Member Admin
 

it seems there are problems in the python files or so.

try upgrading pip:

python -m pip install --upgrade pip

try installing this way:

python -m pip install PIL

do you have multiple python installations?

 
Posted : 06/18/2024 10:30 am
Dim2001 reacted
Dim2001
(@dassa)
Posts: 99
Member
Topic starter
 

finally, I uninstall everything and re-install. now looks ok.

 
Posted : 06/18/2024 3:02 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@dassa often, if you have a virtual environment and you update the python the virtual environment becomes corrupted. The solution is to make sure you have a requirements.txt file so you can remove the virtual environment directory and recreate it.

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

 
Posted : 06/18/2024 5:14 pm
(@google-habibitopg)
Posts: 14
Active Member
 
Screenshot 2024 08 12 111847

i cant download python -m venv venv but i downloaded ./venv/scripts/activate i asked in chatgpt i fix everything like activating in powershell as a administrator but except this i installed simplerllm also it was sucessfully installed. what is the problem?

 
Posted : 08/12/2024 5:59 am
(@husein)
Posts: 531
Member Moderator
 

@google-habibitopg Try just writing in the terminal the following:

venv/Scripts/activate
 
Posted : 08/12/2024 12:09 pm
SSAdvisor
(@ssadvisor)
Posts: 1139
Noble Member
 

@google-habibitopg the error is created because you already have a venv directory. Do as @dassa has stated to continue.

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

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

@husein i activated that but when i run python -m venv venv it is stating that

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

@ssadvisor i did that also uninstall and reinstall it looks same

 
Posted : 08/12/2024 3:33 pm
(@google-habibitopg)
Posts: 14
Active Member
 
Screenshot 2024 08 12 210839

 again it says like this

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

@google-habibitopg You dont need to run python -m venv venv because you already created your virtual environment. You just need to activate it by running the following command:

venv/Scripts/activate
 
Posted : 08/12/2024 3:47 pm
(@google-habibitopg)
Posts: 14
Active Member
 

@husein okay thank you, i fixed it

Screenshot 2024 08 12 215323

now i cant download requirement.txt file why?

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

@google-habibitopg the photo doesn't show you've activated the virtual environment. When properly activated the prompt changes to put the virtual environment directory in front like ```(venv) C:\Users\ME\src```. 

What does a directory listing show in your current directory? Is the requirements.txt file there?

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

 
Posted : 08/12/2024 10:53 pm
(@husein)
Posts: 531
Member Moderator
 

@google-habibitopg It looks like the virtual environment was activated. Plus, the requirements.txt file isn't in the same directory as in the terminal. 

Can you please tell us the hierarchy of your main KEYWORD-RESEARCH-GRAPH-MAIN

 
Posted : 08/13/2024 7:30 am
(@google-habibitopg)
Posts: 14
Active Member
 

@husein i dont know i think it is in another directory so i asked chatGPT it said that to change directory with cd KEYWORD-RESEARCH-GRAPH-MAIN , then i did that then it includes like this

Screenshot 2024 08 13 211334

after that if i run it came

 
Posted : 08/13/2024 3:44 pm
Page 1 / 2
Share: