-
Notifications
You must be signed in to change notification settings - Fork 234
In some cases, it may appear that Blender's python already knows about your
system's installation of python (python is usually installed by default on most
Linux distros). In such cases, you may use just pip install something
to
install libraries.
There are two known ways to install pip
into Blender.
This I tested on latest Blender 2.81 builds. The similar instructions should work for other Blender 2.8x versions.
$ /path/to/blender/2.xx/python/bin/python3 -m ensurepip
$ /path/to/blender/2.xx/python/bin/python3 -m pip install --upgrade pip setuptools wheel
(exact name of python
executable depends on specific blender build).
If, for some reason, Option 1 does not work for you (on some system Python says
no module named ensurepip
), then you have to do the following:
-
Download [get-pip.py][13] script
-
Run it with Blender's python:
$ /path/to/blender/2.xx/python/bin/python3.7m /path/to/get-pip.py
Please refer to [official pip site][14] for official installation instructions.