Troubleshooting - PMBio/scLVM GitHub Wiki

##Installation errors

If you get an error trying to install the R package, first make sure you have followed the instructions from the installation section. For the R package, most errors arise from problems related to python or rPython. Before proceeding, make sure rPython is linked to the correct python version. To check this, open an R console and type

library(rPython)

python.exec("import sys; print sys.version")

The output should be state you are using python 2.7. If this reveals you are using python2.6 or python3, you need to re-install rPython. Before reinstallation, set the environmental variable RPYTHON_PYTHON_VERSION as described in the installation section.

Next, make sure limix is installed and can be loaded by typing:

python.exec("import limix; limix.__version__")

If this yields an error, try to install limix using pip install limix. Make sure you use the same python version for installing limix as used with rPython (should be the one located here which python | xargs ls -l for both).