r/PythonLearning • • 18d ago

Help Request HELP with installing PIL for VS Code (Windows 11)

Hi everyone, I'm still a bit new to Python, and I am trying to display images and output those images. But doing so, I'm required to install pillow, I have been searching for some answers across the internet but don't know what to do as none of them have been working.

I am using VS Code, and using windows 11.

6 Upvotes

3 comments sorted by

2

u/Slight-Living-8098 18d ago edited 18d ago

Create your python virtual environment, activate it, and pip install pillow

There is a VSCode extension that helps you manage python virtual environments for your projects.

https://code.visualstudio.com/docs/python/python-tutorial

https://code.visualstudio.com/docs/python/environments

2

u/Afraid_Jellyfish_387 17d ago

Thank you 😊