Entering edit mode
6.1 years ago
a.rex
▴
350
I have used conda to install both R and rpy2. When I try to run python danpos.py -h to install the danpos package I get the following error:
Traceback (most recent call last):
File "danpos.py", line 6, in <module>
from functions import danpos
File "/path/danpos-2.2.2/functions.py", line 4, in <module>
from wigs import Wigs
File "/path/danpos-2.2.2/wigs.py", line 3, in <module>
from wig import Wig
File "/path/danpos-2.2.2/wig.py", line 4, in <module>
from rpy2.robjects import r,FloatVector
File "/usr/local/lib/python2.7/dist-packages/rpy2/robjects/__init__.py", line 16, in <module>
import rpy2.rinterface as rinterface
File "/usr/local/lib/python2.7/dist-packages/rpy2/rinterface/__init__.py", line 92, in <module>
from rpy2.rinterface._rinterface import (baseenv,
ImportError: No module named _rinterface
Is this an issue with the R installation path? How can I resolve this. Thank you!
You can install danpos with conda.
Nope, this doesn't work
And would you mind telling us "how" that doesn't work? Error message? We are notoriously bad at reading your mind.
This was the error when using the conda link above. PackagesNotFoundError: The following packages are not available from current channels:
Make sure your channels are correctly configured for bioconda.