... | @@ -6,11 +6,11 @@ You may be interested in a discussion of different modules that may provide some |
... | @@ -6,11 +6,11 @@ You may be interested in a discussion of different modules that may provide some |
|
|
|
|
|
# Install pip
|
|
# Install pip
|
|
|
|
|
|
* Download get-pip.py script. I took it from https://bootstrap.pypa.io/get-pip.py, the correct link should be in documentation https://pip.pypa.io/en/stable/installing/ .
|
|
This I tested on latest Blender 2.81 builds. The similar instructions should work
|
|
* Install pip into your blender's python location:
|
|
|
|
|
|
|
|
```
|
|
```
|
|
$ /path/to/blender/2.xx/python/bin/python3 /path/to/get-pip.py
|
|
$ /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).
|
|
(exact name of `python` executable depends on specific blender build).
|
... | @@ -20,7 +20,7 @@ $ /path/to/blender/2.xx/python/bin/python3 /path/to/get-pip.py |
... | @@ -20,7 +20,7 @@ $ /path/to/blender/2.xx/python/bin/python3 /path/to/get-pip.py |
|
* Now you can install anything, for example scipy, with pip into your blender's python:
|
|
* Now you can install anything, for example scipy, with pip into your blender's python:
|
|
|
|
|
|
```
|
|
```
|
|
$ /path/to/blender/2.xx/python/bin/python3.5m /path/to/blender/2.xx/python/lib/python3.5/site-packages/pip install scipy
|
|
$ /path/to/blender/2.xx/python/bin/python3.5m -m pip install scipy
|
|
```
|
|
```
|
|
|
|
|
|
Note: you may have to adjust paths depending on blender's and python's versions.
|
|
Note: you may have to adjust paths depending on blender's and python's versions.
|
... | | ... | |