... | @@ -3,7 +3,7 @@ Sverchok can use several external libraries, that provide some mathematical or o |
... | @@ -3,7 +3,7 @@ Sverchok can use several external libraries, that provide some mathematical or o |
|
One thing you will have to install anyway if you want to use these external libraries is
|
|
One thing you will have to install anyway if you want to use these external libraries is
|
|
[pip][6]. All libraries are installed with it.
|
|
[pip][6]. All libraries are installed with it.
|
|
|
|
|
|
### Simple dependencies installation UI
|
|
## Simple dependencies installation UI
|
|
|
|
|
|
Some of dependencies can be installed easily, by just running `pip`. For such
|
|
Some of dependencies can be installed easily, by just running `pip`. For such
|
|
dependencies, Sverchok supports easy-to-use installation user interface.
|
|
dependencies, Sverchok supports easy-to-use installation user interface.
|
... | @@ -32,7 +32,7 @@ support. |
... | @@ -32,7 +32,7 @@ support. |
|
All commands provided in this document are for Linux-based systems. For Windows
|
|
All commands provided in this document are for Linux-based systems. For Windows
|
|
and MacOS, commands may differ a bit, but the general idea will be the same.
|
|
and MacOS, commands may differ a bit, but the general idea will be the same.
|
|
|
|
|
|
### Install pip
|
|
## Install pip
|
|
|
|
|
|
In some cases, it may appear that Blender's python already knows about your
|
|
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
|
|
system's installation of python (python is usually installed by default on most
|
... | @@ -41,7 +41,7 @@ install libraries. |
... | @@ -41,7 +41,7 @@ install libraries. |
|
|
|
|
|
There are two known ways to install `pip` into Blender.
|
|
There are two known ways to install `pip` into Blender.
|
|
|
|
|
|
#### Option 1
|
|
### Option 1
|
|
|
|
|
|
This I tested on latest Blender 2.81 builds. The similar instructions should
|
|
This I tested on latest Blender 2.81 builds. The similar instructions should
|
|
work for other Blender 2.8x versions.
|
|
work for other Blender 2.8x versions.
|
... | @@ -51,7 +51,7 @@ work for other Blender 2.8x versions. |
... | @@ -51,7 +51,7 @@ work for other Blender 2.8x versions. |
|
|
|
|
|
(exact name of `python` executable depends on specific blender build).
|
|
(exact name of `python` executable depends on specific blender build).
|
|
|
|
|
|
#### Option 2
|
|
### Option 2
|
|
|
|
|
|
If, for some reason, Option 1 does not work for you (on some system Python says
|
|
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:
|
|
`no module named ensurepip`), then you have to do the following:
|
... | @@ -63,19 +63,19 @@ If, for some reason, Option 1 does not work for you (on some system Python says |
... | @@ -63,19 +63,19 @@ If, for some reason, Option 1 does not work for you (on some system Python says |
|
|
|
|
|
Please refer to [official pip site][14] for official installation instructions.
|
|
Please refer to [official pip site][14] for official installation instructions.
|
|
|
|
|
|
### Install SciPy
|
|
## Install SciPy
|
|
|
|
|
|
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U scipy
|
|
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U scipy
|
|
|
|
|
|
### Install SciKit-Image
|
|
## Install SciKit-Image
|
|
|
|
|
|
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U scikit-image
|
|
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U scikit-image
|
|
|
|
|
|
### Install Circlify
|
|
## Install Circlify
|
|
|
|
|
|
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U circlify
|
|
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U circlify
|
|
|
|
|
|
### Install PyMCubes
|
|
## Install PyMCubes
|
|
|
|
|
|
This is more complex. First, you have to install [Cython][7]:
|
|
This is more complex. First, you have to install [Cython][7]:
|
|
|
|
|
... | @@ -102,7 +102,7 @@ After that, you can install PyMCubes by |
... | @@ -102,7 +102,7 @@ After that, you can install PyMCubes by |
|
|
|
|
|
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U PyMCubes
|
|
$ /path/to/blender/2.xx/python/bin/python3.7m -m pip install -U PyMCubes
|
|
|
|
|
|
### Install Geomdl
|
|
## Install Geomdl
|
|
|
|
|
|
In the simplest case, you can install Geomdl by
|
|
In the simplest case, you can install Geomdl by
|
|
|
|
|
... | @@ -115,9 +115,9 @@ as it is described in [Geomdl instruction][9]: |
... | @@ -115,9 +115,9 @@ as it is described in [Geomdl instruction][9]: |
|
|
|
|
|
$ /path/to/blender/2.xx/python/bin/python3 -m pip install geomdl --install-option="--use-cython"
|
|
$ /path/to/blender/2.xx/python/bin/python3 -m pip install geomdl --install-option="--use-cython"
|
|
|
|
|
|
### Install FreeCAD py3lib
|
|
## Install FreeCAD py3lib
|
|
|
|
|
|
# linux:
|
|
### linux:
|
|
|
|
|
|
$ sudo apt install libfreecad-python3-0.18
|
|
$ sudo apt install libfreecad-python3-0.18
|
|
|
|
|
... | | ... | |