]> gitweb.factorcode.org Git - factor.git/commitdiff
python: set PYTHONHOME
authorBjörn Lindqvist <bjourne@gmail.com>
Fri, 7 Feb 2014 16:46:37 +0000 (17:46 +0100)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 4 Mar 2014 17:23:05 +0000 (09:23 -0800)
extra/python/python-docs.factor

index 31bbf0a26cf6885df010313813ba79d7b43b926d..687059def36524bc7d530a6dd727a8914c9df7a1 100644 (file)
@@ -26,4 +26,6 @@ $nl
 { $subsections py-initialize py-finalize }
 "Module management:"
 { $subsections import }
-"The vocab " { $vocab-link "python.syntax" } " implements a higher level factorific interface on top of the lower-level constructs in this vocab. Prefer to use that vocab most of the time." ;
+"The vocab " { $vocab-link "python.syntax" } " implements a higher level factorific interface on top of the lower-level constructs in this vocab. Prefer to use that vocab most of the time."
+{ $notes "Sometimes the embedded python interpreter can't find or finds the wrong load path to it's module library. To counteract that problem it is recommended that the " { $snippet "PYTHONHOME" } " environment variable is set before " { $link py-initialize } " is called. E.g:" }
+{ $code "\"C:/python27-64bit/\" \"PYTHONHOME\" set-os-env" } ;