Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

Fatal error in laun...
 
Notifications
Clear all

Fatal error in launcher

9 Posts
3 Users
4 Reactions
12 Views
dimu
 dimu
(@dassa)
Posts: 80
Member
Power Member
Pythonista Prodigy Badge
Prompt Engineer
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: 1046
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power 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
dimu
 dimu
(@dassa)
Posts: 80
Member
Power Member
Pythonista Prodigy Badge
Prompt Engineer
Topic starter
 

@ssadvisor of course

image
 
Posted : 06/16/2024 2:10 pm
SSAdvisor
(@ssadvisor)
Posts: 1046
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power 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
dimu
 dimu
(@dassa)
Posts: 80
Member
Power Member
Pythonista Prodigy Badge
Prompt Engineer
Topic starter
 

same story

image
 
Posted : 06/17/2024 5:24 am
SSAdvisor
(@ssadvisor)
Posts: 1046
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power 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: 1078
Member Admin
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power Member
 

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
dimu reacted
dimu
 dimu
(@dassa)
Posts: 80
Member
Power Member
Pythonista Prodigy Badge
Prompt Engineer
Topic starter
 

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

 
Posted : 06/18/2024 3:02 pm
SSAdvisor
(@ssadvisor)
Posts: 1046
Noble Member
Premium Member
Pythonista Prodigy Badge
Prompt Engineer
API Entrepreneur
Power 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
Share: