rPython-win icon indicating copy to clipboard operation
rPython-win copied to clipboard

how to install rPython on win10 64bit with python3.7

Open Riiiiichard opened this issue 5 years ago • 2 comments

I want to install "rPython" on my win10 64-bit computer with python 3.7. I modified the file "configure.win" as follows

#!/bin/sh

echo 'PKG_LIBS=-LC:/Softwares/Python3.7/libs -python37'  > src/makevars.win
echo 'PKG_CFLAGS=-I"C:/Softwares/Python3.7/include"'     >> src/makevars.win

but it doesn't work and report the following errors

install("C:/Users/Chen Lei/Desktop/rPython")
√  checking for file 'C:\Users\Chen Lei\Desktop\rPython/DESCRIPTION' ... 
   preparing 'rPython':
√  checking DESCRIPTION meta-information ... 
   cleaning src
   checking for LF line-endings in source and make files and shell scripts
   checking for empty or unneeded directories
   building 'rPython_0.0-6.tar.gz'
   Warning: file 'rPython/cleanup' did not have execute permissions: corrected
   Warning: file 'rPython/configure' did not have execute permissions: corrected
Running "C:/SOFTWA~1/R/R-35~1.2/bin/x64/Rcmd.exe" INSTALL \
"C:\Users\CHENLE~1\AppData\Local\Temp\Rtmp2bULQp/rPython_0.0-6.tar.gz" --install-tests 
installing to library 'C:/Softwares/R/R-3.5.2/library'
installing *source* package 'rPython' ...
'sh' not foundem("sh ./configure.win") :
ERROR: configuration failed for package 'rPython'
removing 'C:/Softwares/R/R-3.5.2/library/rPython'
In R CMD INSTALL

Can anybody know what to do? Thanks

Riiiiichard avatar Mar 14 '19 05:03 Riiiiichard

I got the same error today. Any solutions? Any other ways to easily process email meta data?

capture

bac3917 avatar Jul 19 '19 14:07 bac3917

Hi, Ben

I used the reticulate package as an alternative method, which was also recommended by the author. Hope this information helps you!

Best

Lei


发件人: Ben [email protected] 发送时间: 2019年7月19日 22:46 收件人: cjgb/rPython-win [email protected] 抄送: Riiiiichard [email protected]; Author [email protected] 主题: Re: [cjgb/rPython-win] how to install rPython on win10 64bit with python3.7 (#22)

I got the same error today. Any solutions? Any other ways to easily process email meta data?

[capture]https://user-images.githubusercontent.com/17052128/61543965-70327900-aa12-11e9-8fd5-46a787dd9152.JPG

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cjgb/rPython-win/issues/22?email_source=notifications&email_token=AICESOF3ZZ5Q4IGFUVYGAH3QAHHUJA5CNFSM4G6NMOS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2L3ABA#issuecomment-513257476, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AICESOCJY3PF47YMKIZIC2TQAHHUJANCNFSM4G6NMOSQ.

Riiiiichard avatar Jul 24 '19 13:07 Riiiiichard