Skip to content

Commit

Permalink
Incompatible with Pillow 10.0.0 #64
Browse files Browse the repository at this point in the history
- Fix for Windows Store users unnable to install pip / Pillow
  • Loading branch information
Grim-es committed Jul 14, 2023
1 parent 3768a17 commit 8c4f30d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions operators/get_pillow.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ def _install_pip() -> None:
ensurepip.bootstrap()
else:
python_executable = sys.executable if globs.is_blender_2_92_or_newer else bpy.app.binary_path_python
subprocess.call([python_executable, 'get-pip.py'], shell=True)
subprocess.call([python_executable, 'get-pip.py', '--user'], shell=True)

@staticmethod
def _install_pillow() -> None:
from pip import _internal
_internal.main(['install', 'pip', 'setuptools', 'wheel', '-U'])
_internal.main(['install', 'Pillow'])
_internal.main(['install', 'pip', 'setuptools', 'wheel', '-U', '--user'])
_internal.main(['install', 'Pillow', '--user'])

0 comments on commit 8c4f30d

Please sign in to comment.