Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-02-15 11:35:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-02-15 11:35:54 +0300
commit41fb953fa0b54d0bb3127bb479833efb6281f178 (patch)
treeed2af7eaaa12d86d013f66c741bc20e452e4c376 /doc
parentaa8fc57f1e7683e0490fad5dc2fc18bdba2cee5b (diff)
Docs: update tip on using the systems Python
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/info_tips_and_tricks.rst13
1 files changed, 11 insertions, 2 deletions
diff --git a/doc/python_api/rst/info_tips_and_tricks.rst b/doc/python_api/rst/info_tips_and_tricks.rst
index 82625268b63..e8928e07671 100644
--- a/doc/python_api/rst/info_tips_and_tricks.rst
+++ b/doc/python_api/rst/info_tips_and_tricks.rst
@@ -213,12 +213,21 @@ this has the disadvantage that any extensions you have installed in your systems
There are 2 ways around this:
-- remove Blender Python sub-directory, Blender will then fallback on the systems Python and use that instead
+- Remove Blender Python sub-directory, Blender will then fallback on the systems Python and use that instead.
+
+ Depending on your platform,
+ you may need to explicitly reference the location of your Python installation using the
+ ``PYTHONPATH`` environment variable, eg:
+
+ .. code-block:: sh
+
+ PYTHONPATH=/usr/lib/python3.5 ./blender
+
.. warning::
The Python version must match the one that Blender comes with.
-- copy the extensions into Blender's Python sub-directory so Blender can access them,
+- Copy or link the extensions into Blender's Python sub-directory so Blender can access them,
you could also copy the entire Python installation into Blenders sub-directory,
replacing the one Blender comes with.
This works as long as the Python versions match and the paths are created in the same relative locations.