Hello everybody,
i try to run danpos2, but only get error messages i cannot solve on my own.
$ danpos.py
cannot find system Renviron
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/rpy2/rinterface/__init__.py:186: RRuntimeWarning: Error in identical(env, as.environment(i)) :
2 arguments passed to .Internal(identical) which requires 7
warnings.warn(x, RRuntimeWarning)
Traceback (most recent call last):
File "/bin/danpos.py", line 6, in <module>
from functions import danpos
File "/bin/functions.py", line 4, in <module>
from wigs import Wigs
File "/bin/wigs.py", line 3, in <module>
from wig import Wig
File "/bin/wig.py", line 4, in <module>
from rpy2.robjects import r,FloatVector
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/rpy2/robjects/__init__.py", line 19, in <module>
from rpy2.robjects.robject import RObjectMixin, RObject
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/rpy2/robjects/robject.py", line 58, in <module>
class RObjectMixin(object):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/rpy2/robjects/robject.py", line 71, in RObjectMixin
__show = rpy2.rinterface.baseenv.get("show")
LookupError: 'show' not found
I tried to remove rpy2 and reinstall it again, but installing does not work at all due to some compilation problem: i asked for help in another post:
I though the error messages might mean i need to install wigs or functions or rpy2, but I'm not really into python and 'pip install wigs' resulted in the announcement that there is nothing like a wigs package. I'd be happy if someone could please tell me how i can handle these error messages. Do i have to install packages or may it be a wrong version of a program? I use Python 2.7.8 Thanks a lot
At least i found out that all these errors occur because rpy2 is missing. But i still don't know how to fix this.
Please use
ADD COMMENT/ADD REPLY
when responding to existing posts to keep threads logically organized.OK, i could fix the rpy2 problem, now other problems occur.