# ️ Before installing Pillow, uninstall PIL. pip uninstall PIL # ️ in a virtual environment or using Python 2 pip install Pillow # ️ for python 3 (could also be pip3.10 depending on your version) pip3 install Pillow # ️ if you get permissions error sudo pip3 install Pillow # ️ if you don't have pip in your PATH environment variable python -m pip install --upgrade Pillow # ️ for python 3 (could also be pip3.10 depending on your version) python3 -m pip install --upgrade Pillow # ️ for Anaconda conda install -c anaconda pillow



