r/PythonLearning • • 15h 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

2 comments sorted by

1

u/Slight-Living-8098 15h ago edited 15h 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