diff --git a/operators/get_pillow.py b/operators/get_pillow.py index ebb471e..abc68f7 100644 --- a/operators/get_pillow.py +++ b/operators/get_pillow.py @@ -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'])