aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPjotr Prins2016-04-26 11:28:51 +0000
committerPjotr Prins2016-04-26 11:28:51 +0000
commit9001d7575cef0dcb0aaecfa15e8c242873fae01e (patch)
tree294266d9e3a5d34736c6607cd4f8b247811c7284 /doc
parente15ed8d9e240f40b980126c07a54d10af53e2017 (diff)
downloadgenenetwork2-9001d7575cef0dcb0aaecfa15e8c242873fae01e.tar.gz
README: add environment paths info
Diffstat (limited to 'doc')
-rw-r--r--doc/README.org24
1 files changed, 22 insertions, 2 deletions
diff --git a/doc/README.org b/doc/README.org
index 3b96717f..494e2a70 100644
--- a/doc/README.org
+++ b/doc/README.org
@@ -11,6 +11,8 @@
- [[#run-mysql-server][Run MySQL server]]
- [[#run-your-own-copy-of-gn2][Run your own copy of GN2]]
- [[#source-deployment-and-other-information-on-reproducibility][Source deployment and other information on reproducibility]]
+ - [[#trouble-shooting][Trouble shooting]]
+ - [[#importerror-no-module-named-jinja2][ImportError: No module named jinja2]]
* Introduction
@@ -138,8 +140,8 @@ At some point you may want to fix the source code. Assuming you have
Guix and Genenetwork2 installed (as described above) clone the GN2
repository from https://github.com/genenetwork/genenetwork2_diet
-Copy the paths into your terminal from (mainly so PYTHON_PATH and
-R_LIBS_SITE are set)
+Copy-paste the paths into your terminal (mainly so PYTHON_PATH and
+R_LIBS_SITE are set) from the information given by guix:
: guix package --search-paths
@@ -164,3 +166,21 @@ software.
See the document [[GUIX-Reproducible-from-source.org]].
+* Trouble shooting
+
+** ImportError: No module named jinja2
+
+If you have all the Guix packages installed this error points out that
+the environment variables are not set. Copy-paste the paths into your
+terminal (mainly so PYTHON_PATH and R_LIBS_SITE are set) from the
+information given by guix:
+
+: guix package --search-paths
+
+On one system:
+
+: export PYTHONPATH="$HOME/.guix-profile/lib/python2.7/site-packages"
+: export R_LIBS_SITE="$HOME/.guix-profile/site-library/"
+: export GEM_PATH="$HOME/.guix-profile/lib/ruby/gems/2.2.0"
+
+and perhaps a few more.