Hi,
I have a similar problem. After taking all the suggestions from Bitbucket
on installing rpy2 under win7 with python 3.2. I installed RTools, defined
RHOME, R_HOME, and R_USER and appended the path of R.dll.
In the end, when running "python setup.py install", it it turned out to be
following:
Hi Fangyu,
I use Win7, not sure if it works but thanks for the suggestion.
Y.Z.
On Tue, Mar 27, 2012 at 3:47 PM, Fangyu He wrote:
> Dear Yuanda Zhu
>
> I did never do install rpy2 to Python3, but I got it for Python2.7 easily
> with the help of apt-get before. I think that you m
ve a look at this when I've got some spare time, but it
> might be a Windows specific problem, which I'm less able to debug.
>
> Thomas
>
> On 26 March 2012 13:36, Yuanda Zhu wrote:
> > Hi Thomas,
> >
> > Here is the new error message with no if statemen
#x27;],
> stderr=subprocess.STDOUT).decode('ascii').splitlines()
>
> # removed the if statement
> rversion = rp[1]
>
> # End of changed section --------
> m = re.match('^R ([^ ]+) ([^ ]+) .+$', rversion)
>
>
> Niek
>
>
>
t. https://gist.github.com/2204230
>
> On 26 March 2012 12:06, Yuanda Zhu wrote:
> > Hi Thomas,
> >
> > Thank you very much for your code. I ran it and it showed that
> >
> >
> > File "G:\Backup\Setup\Python\Packages\rpy2-2.2.5\setup.py", line 183,
&
Hi Thomas,
Thank you very much for your code. I ran it and it showed that
File "G:\Backup\Setup\Python\Packages\rpy2-2.2.5\setup.py", line 183, in
get_rversion
if rversion.startswith("WARNING"):
TypeError: startswith first arg must be bytes or a tuple of bytes, not str
Please help.
Than
;
> For reference, you can see the current code here:
> https://bitbucket.org/lgautier/rpy2/src/f075a4291e9c/setup.py#cl-185
>
> Thomas
>
> On 25 March 2012 21:54, Yuanda Zhu wrote:
> > Hi Thomas,
> >
> > Here is the traceback:
> >
> > Traceback (most
etup\Python\Packages\rpy2-2.2.5\setup.py", line 180, in
get_rversion
rp = os.popen3('"'+r_exec+'" --version')[2]
AttributeError: 'module' object has no attribute 'popen3'
Please help me, thank you very much
Y.Z.
On Mon, Mar 26, 2012 at 4
etup\Python\Packages\rpy2-2.2.5\setup.py", line 180, in
get_rversion
rp = os.popen3('"'+r_exec+'" --version')[2]
AttributeError: 'module' object has no attribute 'popen3'
Please help me fix this, many thanks.
Y.Z.
On Mon, Mar 26, 2
>
> I haven't had this problem myself so I don't know if the solutions given
> here:
> http://stackoverflow.com/questions/4924917/trouble-installing-rpy2-on-win7-r-2-12-python-2-5.
> actually work, but it seems like a solution.
>
> Cheers,
> Niek
>
> On Sun, Mar 2
ns given
> here:
> http://stackoverflow.com/questions/4924917/trouble-installing-rpy2-on-win7-r-2-12-python-2-5.
> actually work, but it seems like a solution.
>
> Cheers,
> Niek
>
> On Sun, Mar 25, 2012 at 8:47 AM, Yuanda Zhu wrote:
>
>> Hi,
>>
>>
Hi,
When I was trying to install rpy2-2.2.5 to Python-3.2.2 in Win7, the error
msg said "Tried to guess R's HOME but no R command in the PATH."
I am new to programming, so wish you could provide some help.
Many thanks,
Y.Z.
---
12 matches
Mail list logo